You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/content/docs/playwright-checks/_index.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ The alpha version gets updated daily with new improvements. You can follow updat
58
58
59
59
### 2. [Optional] If you're using TypeScript
60
60
61
-
If you're using TypeScript, install the dev dependencies [`ts-node`](https://www.npmjs.com/package/ts-node) and [`typescript`](https://www.npmjs.com/package/typescript).
61
+
If you're using TypeScript, install the dev dependencies [`jiti`](https://www.npmjs.com/package/jiti) and [`typescript`](https://www.npmjs.com/package/typescript).
62
62
63
63
```bash {title="Terminal"}
64
64
npm install --save-dev jiti typescript
@@ -98,23 +98,25 @@ Here's a fully working example. Adjust the `pwProjects` and `pwTags` to ones tha
98
98
{
99
99
/* Create a multi-browser check that runs
100
100
every 5 mins.*/
101
-
name: 'multi-browser',
101
+
name: 'Multi Browser Suite',
102
+
logicalId: 'multi-browser',
102
103
pwProjects: ['chromium', 'firefox', 'webkit'], // Reference the project or projects in your playwright config
103
104
frequency: Frequency.EVERY_5M, // set your ideal frequency
104
105
locations: ['us-east-1', 'eu-west-1'], // add your locations
105
106
},
106
107
{
107
108
/* Create a check that runs the critical tagged tests every 10 mins */
108
-
name: 'checkly-tagged',
109
-
pwTags: 'checkly', // Reference an existing tag in your tests
109
+
name: 'Checkly Tagged tests',
110
+
logicalId: 'checkly-tagged',
111
+
pwTags: '@checkly', // Reference an existing tag in your tests
110
112
frequency: Frequency.EVERY_10M, // set your ideal frequency
111
-
locations: ['eu-west-1'],
113
+
locations: ['us-east-1'],
112
114
},
113
115
],
114
116
},
115
117
/* The default location to use when running npx checkly test */
116
118
cli: {
117
-
runLocation: 'eu-west-1',
119
+
runLocation: 'us-east-1',
118
120
retries: 0, // full test retries, when running npx checkly test
0 commit comments