From 4cf5cdd1812fe6033179127080759d45a04ae4a3 Mon Sep 17 00:00:00 2001 From: Amruth Pillai Date: Wed, 29 Apr 2026 21:38:40 +0200 Subject: [PATCH] fix: remove timeout to check data-wf-loaded --- src/integrations/orpc/services/printer.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/integrations/orpc/services/printer.ts b/src/integrations/orpc/services/printer.ts index cbd3ca20a..7c699bfc1 100644 --- a/src/integrations/orpc/services/printer.ts +++ b/src/integrations/orpc/services/printer.ts @@ -187,7 +187,7 @@ async function doPrintResumeAsPDF( ), ); await page - .waitForFunction(() => document.body.getAttribute("data-wf-loaded") === "true", { timeout: 5_000 }) + .waitForFunction(() => document.body.getAttribute("data-wf-loaded") === "true") .catch((error) => throwPrinterStepError( "Resume print page did not finish loading", @@ -522,7 +522,7 @@ async function doGetResumeScreenshot( ), ); await page - .waitForFunction(() => document.body.getAttribute("data-wf-loaded") === "true", { timeout: 5_000 }) + .waitForFunction(() => document.body.getAttribute("data-wf-loaded") === "true") .catch((error) => throwPrinterStepError( "Resume screenshot page did not finish loading",