Skip to content

Commit 4e3f683

Browse files
committed
video resolution
1 parent 5396dcd commit 4e3f683

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

site/e2e/playwright.config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ const config: PlaywrightTestConfig = {
1313
globalSetup: require.resolve("./globalSetup"),
1414
use: {
1515
baseURL: `http://localhost:${port}`,
16-
video: "retain-on-failure",
16+
video: {
17+
mode: "retain-on-failure",
18+
size: { width: 1280, height: 768 },
19+
},
20+
viewport: { width: 1280, height: 768 },
1721
},
1822
webServer: {
1923
command: `go run -tags embed ${coderMain} server --global-config $(mktemp -d -t e2e-XXXXXXXXXX)`,

0 commit comments

Comments
 (0)