Skip to content

Commit b4ce723

Browse files
authored
Merge pull request #76 from checkly/feature/add-pwn-explainer-graphic
Extend Playwright Check Suite explanation
2 parents f20ff78 + 9b85408 commit b4ce723

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

detect/synthetic-monitoring/playwright-checks/overview.mdx

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,15 @@ Receive notifications when tests fail or performance degrades, keeping your team
6262

6363
## Test Selection
6464

65-
Control which tests become monitoring checks using:
65+
Your Playwright end-to-end test suite consists of projects, `spec.ts` files and individual tests. Use Playwright Check Suites to select and regroup the tests you want to run as synthetic monitors.
6666

67-
- **Projects**: Choose browser configurations from your Playwright config
67+
<Frame>
68+
![Playwright Check Suites test selection](/images/playwright-test-selection.jpg)
69+
</Frame>
70+
71+
**A Playwright **Check** Suite is a collection of tests that are defined in one or more `spec.ts` files.** To control which tests become part of your Playwright Check Suite, use:
72+
73+
- **Projects**: Choose browser and project configurations from your Playwright config
6874
- **Tags**: Select tests marked with specific tags (e.g., `@critical`, `@smoke`)
6975
- **Combinations**: Mix tags and projects for precise test selection
7076

@@ -94,6 +100,10 @@ export default defineConfig({
94100
The Playwright Check Suite runner will use the `pwProjects` and `pwTags` values to configure [the native Playwright Test CLI run](https://playwright.dev/docs/test-cli). `pwProjects` reflects the `--project` and `pwTags` the `--grep` CLI options.
95101
</Info>
96102

103+
<Tip>
104+
[Read the guide on test organization](/detect/synthetic-monitoring/playwright-checks/test-organization) to learn more about all the options for selecting and grouping tests in a Playwright Check Suite.
105+
</Tip>
106+
97107
## Monitoring Configuration
98108

99109
Customize monitoring behavior with:
429 KB
Loading

0 commit comments

Comments
 (0)