Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Commit 5d23bb9

Browse files
author
MariadeAnton
committed
add example of what gets created
1 parent c6ce3fa commit 5d23bb9

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

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

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,41 @@ For example:
9090
Creating Checkly check from Playwright test... ✅
9191
```
9292

93+
Review the resulting check configuration in your `checkly.config.ts` file and make sure to tweak locations and schedule as needed.
94+
95+
```typescript {title="checkly.config.ts"}
96+
import { defineConfig } from 'checkly'
97+
98+
const config = defineConfig({
99+
logicalId: 'my-repo-name',
100+
projectName: 'my-repo-name',
101+
checks: {
102+
playwrightConfigPath: './playwright.config.ts',
103+
playwrightChecks: [
104+
{
105+
logicalId: 'playwright-check-project-chromium', // tweak ID
106+
name: 'Playwright Test: --project=chromium', // tweak name
107+
testCommand: 'npx playwright test --project=chromium',// what we'll run as part of your check suite
108+
locations: [
109+
'eu-central-1', // add or change locations
110+
],
111+
frequency: 10, // a custom per-check frequency
112+
},
113+
],
114+
frequency: 10, // a global default frequency
115+
locations: [
116+
'us-east-1', // a global default location
117+
],
118+
},
119+
cli: {
120+
runLocation: 'us-east-1', // where test and pw-test will run
121+
},
122+
})
123+
124+
export default config
125+
126+
```
127+
93128
### 5. Deploy your Playwright Check Suites
94129

95130
Once you are ready to start monitoring your applications with these checks, deploy your Playwright Check Suite into global monitoring with `npx checkly deploy`.

0 commit comments

Comments
 (0)