Skip to content

Commit

Permalink
chore: fix screenshot resolution [run ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
AtofStryker committed Sep 30, 2024
1 parent c7c23f1 commit 06d417c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/server/lib/browsers/firefox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ export async function open (browser: Browser, url: string, options: BrowserLaunc
const BROWSER_ENVS = {
MOZ_REMOTE_SETTINGS_DEVTOOLS: '1',
MOZ_HEADLESS_WIDTH: '1280',
MOZ_HEADLESS_HEIGHT: '806',
MOZ_HEADLESS_HEIGHT: '722',
...launchOptions.env,
}

Expand Down
2 changes: 1 addition & 1 deletion system-tests/lib/pluginUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
// (height must account for firefox url bar, which we can only shrink to 1px ,
// and the total size of the window url and tab bar, which is 85 pixels for a total offset of 86 pixels)
options.args.push(
'-width', '1280', '-height', '806',
'-width', '1280', '-height', '722',
)
} else if (browser.name === 'electron') {
options.preferences.width = 1280
Expand Down

0 comments on commit 06d417c

Please sign in to comment.