diff --git a/app/layout/scenarios/reports/solutions/webshot-status/index.tsx b/app/layout/scenarios/reports/solutions/webshot-status/index.tsx index 65e4fd9781..bcc14a31ec 100644 --- a/app/layout/scenarios/reports/solutions/webshot-status/index.tsx +++ b/app/layout/scenarios/reports/solutions/webshot-status/index.tsx @@ -78,7 +78,7 @@ export const WebShotStatus = () => { ...globalThis.MARXAN, webshot_ready: true, }; - }, 1000); + }, 10000); } }, [reportDataIsFetched]); diff --git a/webshot/src/domain/solutions-report/solutions-report.ts b/webshot/src/domain/solutions-report/solutions-report.ts index 89c4fed7e1..61231840e6 100644 --- a/webshot/src/domain/solutions-report/solutions-report.ts +++ b/webshot/src/domain/solutions-report/solutions-report.ts @@ -75,8 +75,8 @@ export const generateSummaryReportForScenario = async ( console.info(`Rendering ${pageUrl} as PDF`); await page.goto(pageUrl); - await page.waitForFunction(waitForReportReady, { timeout: 30e3 }); - const pageAsPdf = await page.pdf({ ...pdfOptions, timeout: 30e3 }); + await page.waitForFunction(waitForReportReady, { timeout: 60e3 }); + const pageAsPdf = await page.pdf({ ...pdfOptions, timeout: 60e3 }); await page.close(); await browser.close();