Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

increase chromium timeout to 100s #372

Merged
merged 1 commit into from
May 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,5 @@ export const replaceQueryURL = (pageUrl) => {
toDateString + '))',
"'" + toDateFormat.toISOString() + "'))"
);
console.log(`log output queryUrl\n` + queryUrl);
return queryUrl;
};
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export const createVisualReport = async (
});
const page = await browser.newPage();
page.setDefaultNavigationTimeout(0);
page.setDefaultTimeout(60000); // use 60s timeout instead of default 30s
page.setDefaultTimeout(100000); // use 100s timeout instead of default 30s
if (cookie) {
logger.info('domain enables security, use session cookie to access');
await page.setCookie(cookie);
Expand Down