Skip to content

Commit 222f496

Browse files
committed
fix config
1 parent 38cefd5 commit 222f496

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev-packages/test-utils/src/playwright-config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,11 @@ export function getPlaywrightConfig(
5555
name: 'chromium',
5656
use: {
5757
// This comes from `devices["Desktop Chrome"]
58+
// We inline this instead of importing this,
59+
// because playwright otherwise complains that it was imported twice :(
5860
userAgent:
5961
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.6422.26 Safari/537.36',
6062
viewport: { width: 1280, height: 720 },
61-
screen: { width: 1920, height: 1080 },
6263
deviceScaleFactor: 1,
6364
isMobile: false,
6465
hasTouch: false,

0 commit comments

Comments
 (0)