Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhx828 committed Nov 7, 2024
1 parent 9935a41 commit f551ae7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions screenshot-test/App.screenshot.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const LATEST_SNAPSHOTS_DIR = './screenshot-test/__latest_snapshots__/';
const browserConfig = {
// Docker requires --no-sandbox to be able to run the tests
headless: true,
args: ['--no-sandbox', '--disable-setuid-sandbox'],
args: ['--no-sandbox', '--disable-setuid-sandbox', `--window-size=${VIEW_PORT_1080.width},${VIEW_PORT_1080.height}`],
ignoreHTTPSErrors: true,
dumpio: false,
};
Expand Down Expand Up @@ -809,4 +809,4 @@ describe('Tests without login', () => {
afterAll(async () => {
await browser.close();
});
});
});

0 comments on commit f551ae7

Please sign in to comment.