make tests fail faster
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user