Skip to content

Commit b0eb62d

Browse files
authored
code snippet indentation fixes
Just fixing the code snippet indentation.
1 parent ba065f1 commit b0eb62d

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

site/content/docs/playwright-checks/reference.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,18 @@ You can combine `pwTags` and `pwProjects` to generate your check. For example:
3333

3434
```typescript {title="checkly.config.ts"}
3535
checks: {
36-
playwrightConfigPath: './playwright.config.ts',
37-
playwrightChecks: [
38-
{
39-
// Run critical tagged tests in Chromium every minute from 4 locations
40-
name:"critical-tagged",
41-
pwTags: 'critical',
42-
pwProjects: 'chromium',
43-
frequency: Frequency.EVERY_1M,
44-
locations: ['us-east-1', 'eu-west-1','eu-central-1', 'ap-south-1'],
45-
},
46-
],
47-
},
36+
playwrightConfigPath: './playwright.config.ts',
37+
playwrightChecks: [
38+
{
39+
// Run critical tagged tests in Chromium every minute from 4 locations
40+
name:"critical-tagged",
41+
pwTags: 'critical',
42+
pwProjects: 'chromium',
43+
frequency: Frequency.EVERY_1M,
44+
locations: ['us-east-1', 'eu-west-1','eu-central-1', 'ap-south-1'],
45+
},
46+
],
47+
},
4848
```
4949

5050
## Monitoring customizations
@@ -68,22 +68,22 @@ These are the available monitoring configuration options:
6868
```typescript {title="checkly.config.ts"}
6969

7070
checks: {
71-
playwrightConfigPath: './playwright.config.ts', // specify your config file
72-
playwrightChecks: [
71+
playwrightConfigPath: './playwright.config.ts', // specify your config file
72+
playwrightChecks: [
7373
{
74-
// Run E2E tagged tests across browsers in 4 locations
75-
name: 'E2E test suite',
76-
logicalId: 'e2e-test-suite',
77-
pwProjects: ['chromium', 'firefox', 'webkit'], // Reference the project or projects in playwright.config file
78-
pwTags: 'e2e', // Reference an existing tag in your tests
79-
installCommand: 'npm install --dev', // Optionally override default dependencies install command
80-
testCommand: 'npx playwright test --grep@checkly --config=playwright.foo.config.ts', //Optionally override the default test command
81-
activated: true, // Optional - Activate the check so that it runs on a schedule, true by default
82-
muted: false, // Optional - Mute the check so that it doesn't send alerts
83-
groupName: 'production-group', // use the name of the group you created
84-
frequency: Frequency.EVERY_5M,
85-
locations: ['us-east-1', 'eu-west-1','eu-central-1', 'ap-south-1'],
86-
}
87-
]
74+
// Run E2E tagged tests across browsers in 4 locations
75+
name: 'E2E test suite',
76+
logicalId: 'e2e-test-suite',
77+
pwProjects: ['chromium', 'firefox', 'webkit'], // Reference the project or projects in playwright.config file
78+
pwTags: 'e2e', // Reference an existing tag in your tests
79+
installCommand: 'npm install --dev', // Optionally override default dependencies install command
80+
testCommand: 'npx playwright test --grep@checkly --config=playwright.foo.config.ts', //Optionally override the default test command
81+
activated: true, // Optional - Activate the check so that it runs on a schedule, true by default
82+
muted: false, // Optional - Mute the check so that it doesn't send alerts
83+
groupName: 'production-group', // use the name of the group you created
84+
frequency: Frequency.EVERY_5M,
85+
locations: ['us-east-1', 'eu-west-1','eu-central-1', 'ap-south-1'],
86+
}
87+
]
8888
},
8989
```

0 commit comments

Comments
 (0)