mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-10 05:29:08 +08:00
chore: tweak local e2e viewport size
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import type { PlaywrightTestConfig } from '@playwright/test';
|
import type { PlaywrightTestConfig } from '@playwright/test';
|
||||||
import { devices } from '@playwright/test';
|
// import { devices } from '@playwright/test';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Read environment variables from file.
|
* Read environment variables from file.
|
||||||
@@ -51,7 +51,7 @@ const config: PlaywrightTestConfig = {
|
|||||||
name: 'chromium',
|
name: 'chromium',
|
||||||
use: {
|
use: {
|
||||||
browserName: 'chromium',
|
browserName: 'chromium',
|
||||||
viewport: { width: 1920, height: 1080 },
|
viewport: { width: 1440, height: 800 },
|
||||||
actionTimeout: 5 * 1000,
|
actionTimeout: 5 * 1000,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user