make tests fail faster
This commit is contained in:
parent
a42afbc9d2
commit
2c4416804b
@ -5,8 +5,12 @@ const config: PlaywrightTestConfig = {
|
|||||||
command: 'npm run build && npm run preview',
|
command: 'npm run build && npm run preview',
|
||||||
port: 4173,
|
port: 4173,
|
||||||
},
|
},
|
||||||
|
expect: {
|
||||||
|
timeout: 2.5 * 1000,
|
||||||
|
},
|
||||||
testDir: 'tests',
|
testDir: 'tests',
|
||||||
testMatch: /(.+\.)?(test|spec)\.[jt]s/,
|
testMatch: /(.+\.)?(test|spec)\.[jt]s/,
|
||||||
|
timeout: 5 * 1000,
|
||||||
use: {
|
use: {
|
||||||
viewport: {
|
viewport: {
|
||||||
height: 900,
|
height: 900,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user