chore: tweak local e2e viewport size

This commit is contained in:
Yifeng Wang
2022-12-25 09:19:49 +08:00
parent a0e14e448a
commit d1c9cda9f5
+2 -2
View File
@@ -1,5 +1,5 @@
import type { PlaywrightTestConfig } from '@playwright/test';
import { devices } from '@playwright/test';
// import { devices } from '@playwright/test';
/**
* Read environment variables from file.
@@ -51,7 +51,7 @@ const config: PlaywrightTestConfig = {
name: 'chromium',
use: {
browserName: 'chromium',
viewport: { width: 1920, height: 1080 },
viewport: { width: 1440, height: 800 },
actionTimeout: 5 * 1000,
},
},