-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcheckly.config.ts
More file actions
47 lines (46 loc) · 1.43 KB
/
checkly.config.ts
File metadata and controls
47 lines (46 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import { defineConfig } from 'checkly'
import { Frequency } from 'checkly/constructs'
export default defineConfig({
projectName: 'Raccoon Records',
logicalId: 'raccoon-records',
repoUrl: 'https://github.com/checkly/playwright-reporter-demo',
checks: {
playwrightConfigPath: './playwright.config.ts',
locations: ['us-east-1', 'eu-west-1', 'ap-southeast-1'],
tags: ['raccoon-records', 'demo'],
playwrightChecks: [
{
name: 'API Health',
logicalId: 'api-health',
pwProjects: ['checkly'],
testCommand: 'npx playwright test api-health.spec.ts --project checkly',
frequency: Frequency.EVERY_10M,
},
{
name: 'Homepage',
logicalId: 'homepage',
pwProjects: ['checkly'],
testCommand: 'npx playwright test homepage.spec.ts --project checkly',
frequency: Frequency.EVERY_10M,
},
{
name: 'Product Detail',
logicalId: 'product-detail',
pwProjects: ['checkly'],
testCommand: 'npx playwright test product-detail.spec.ts --project checkly',
frequency: Frequency.EVERY_10M,
},
{
name: 'Search & Filters',
logicalId: 'search-filters',
pwProjects: ['checkly'],
testCommand: 'npx playwright test search-filters.spec.ts --project checkly',
frequency: Frequency.EVERY_10M,
},
],
},
cli: {
runLocation: 'eu-west-1',
retries: 0,
},
})