diff --git a/test/integration/scripting_spec.mjs b/test/integration/scripting_spec.mjs index 7ae1e7b46cae5..e472a810cef39 100644 --- a/test/integration/scripting_spec.mjs +++ b/test/integration/scripting_spec.mjs @@ -1764,7 +1764,7 @@ describe("Interaction", () => { }, eventBusSetup: eventBus => { eventBus.on( - "print", + "afterprint", () => { window.PDFViewerApplication._testPrintResolver.resolve(); },