Skip to content

Commit 06d417c

Browse files
committed
chore: fix screenshot resolution [run ci]
1 parent c7c23f1 commit 06d417c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/server/lib/browsers/firefox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ export async function open (browser: Browser, url: string, options: BrowserLaunc
525525
const BROWSER_ENVS = {
526526
MOZ_REMOTE_SETTINGS_DEVTOOLS: '1',
527527
MOZ_HEADLESS_WIDTH: '1280',
528-
MOZ_HEADLESS_HEIGHT: '806',
528+
MOZ_HEADLESS_HEIGHT: '722',
529529
...launchOptions.env,
530530
}
531531

system-tests/lib/pluginUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
// (height must account for firefox url bar, which we can only shrink to 1px ,
99
// and the total size of the window url and tab bar, which is 85 pixels for a total offset of 86 pixels)
1010
options.args.push(
11-
'-width', '1280', '-height', '806',
11+
'-width', '1280', '-height', '722',
1212
)
1313
} else if (browser.name === 'electron') {
1414
options.preferences.width = 1280

0 commit comments

Comments
 (0)