From 75e52360ad1e36935a39b6c8ccf62ec28bd9218d Mon Sep 17 00:00:00 2001 From: Calixte Denizet Date: Thu, 15 Aug 2024 13:11:31 +0100 Subject: [PATCH] Enable disabled integration tests for Firefox --- test/integration/stamp_editor_spec.mjs | 15 --------------- test/integration/viewer_spec.mjs | 6 ------ 2 files changed, 21 deletions(-) diff --git a/test/integration/stamp_editor_spec.mjs b/test/integration/stamp_editor_spec.mjs index 303d9e2d0b165..9da7bdc4b38f8 100644 --- a/test/integration/stamp_editor_spec.mjs +++ b/test/integration/stamp_editor_spec.mjs @@ -106,11 +106,6 @@ describe("Stamp Editor", () => { it("must load a PNG which is bigger than a page", async () => { await Promise.all( pages.map(async ([browserName, page]) => { - if (browserName === "firefox") { - // Disabled in Firefox, because of https://bugzilla.mozilla.org/1553847. - return; - } - await switchToStamp(page); await page.click("#editorStampAddImage"); @@ -138,11 +133,6 @@ describe("Stamp Editor", () => { it("must load a SVG", async () => { await Promise.all( pages.map(async ([browserName, page]) => { - if (browserName === "firefox") { - // Disabled in Firefox, because of https://bugzilla.mozilla.org/1553847. - return; - } - await page.click("#editorStampAddImage"); const input = await page.$("#stampEditorFileInput"); await input.uploadFile( @@ -183,11 +173,6 @@ describe("Stamp Editor", () => { it("must check that an added image stay within the page", async () => { await Promise.all( pages.map(async ([browserName, page]) => { - if (browserName === "firefox") { - // Disabled in Firefox, because of https://bugzilla.mozilla.org/1553847. - return; - } - await switchToStamp(page); const names = ["bottomLeft", "bottomRight", "topRight", "topLeft"]; diff --git a/test/integration/viewer_spec.mjs b/test/integration/viewer_spec.mjs index 279e1784f2421..61b4f071d08dd 100644 --- a/test/integration/viewer_spec.mjs +++ b/test/integration/viewer_spec.mjs @@ -115,12 +115,6 @@ describe("PDF viewer", () => { it("must check that we can zoom with the mouse wheel and pressed control key", async () => { await Promise.all( pages.map(async ([browserName, page]) => { - if (browserName === "firefox") { - // Skip this test for Firefox, as it's not working correctly. - // See https://github.com/puppeteer/puppeteer/issues/12093. - // TODO: Remove this check once the issue is resolved. - return; - } await page.keyboard.down("Control"); let zoom = 10; const zoomGetter = () =>