Skip to content

Commit

Permalink
set def timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloster committed Sep 10, 2024
1 parent acf5ac7 commit a4ef67a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/__tests__/e2e/puppeteer.setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ setDefaultOptions({ timeout: 60 * 1000 });
jest.retryTimes(ENV_DEFAULT.RETRY_ATTEMPTS);

beforeEach(async () => {
await page.setDefaultTimeout(90000);
await jestPuppeteer.resetBrowser();
const browser = await jestPuppeteer.getBrowser();

const userAgent = await browser.userAgent();
await page.setUserAgent(`${userAgent}bot`);

Expand Down

0 comments on commit a4ef67a

Please sign in to comment.