diff --git a/client/__tests__/e2e/puppeteer.setup.js b/client/__tests__/e2e/puppeteer.setup.js index cb80f7b76..8c0dad632 100644 --- a/client/__tests__/e2e/puppeteer.setup.js +++ b/client/__tests__/e2e/puppeteer.setup.js @@ -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`);