@@ -33,18 +33,18 @@ You can combine `pwTags` and `pwProjects` to generate your check. For example:
33
33
34
34
``` typescript {title="checkly.config.ts"}
35
35
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
+ },
48
48
```
49
49
50
50
## Monitoring customizations
@@ -68,22 +68,22 @@ These are the available monitoring configuration options:
68
68
``` typescript {title="checkly.config.ts"}
69
69
70
70
checks : {
71
- playwrightConfigPath : ' ./playwright.config.ts' , // specify your config file
72
- playwrightChecks : [
71
+ playwrightConfigPath : ' ./playwright.config.ts' , // specify your config file
72
+ playwrightChecks : [
73
73
{
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
+ ]
88
88
},
89
89
```
0 commit comments