-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcomponent.config.ts
More file actions
36 lines (34 loc) · 914 Bytes
/
component.config.ts
File metadata and controls
36 lines (34 loc) · 914 Bytes
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
import { defineConfig } from '@playwright/test';
import baseConfig from 'config/playwright.config';
export default defineConfig({
...baseConfig,
timeout: 120_000, // 30 seconds in the playwright default
expect: {
timeout: 10_000, // default is 5 seconds. After creating and previewing sometimes the load is slow on a cold start
},
projects: [
{
name: 'senders:setup',
testMatch: 'senders.setup.ts',
},
{
name: 'firehose:setup',
testMatch: 'firehose.setup.ts',
teardown: 'firehose:teardown',
},
{
name: 'firehose:teardown',
testMatch: 'firehose.teardown.ts',
},
{
name: 'component',
testMatch: '*.component.spec.ts',
dependencies: ['senders:setup', 'firehose:setup'],
teardown: 'component:teardown',
},
{
name: 'component:teardown',
testMatch: 'component.teardown.ts',
},
],
});