1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 14:48:08 +02:00

Enable disabled integration tests for Firefox

This commit is contained in:
Calixte Denizet 2024-08-15 13:11:31 +01:00
parent 8446d3ac03
commit 75e52360ad
2 changed files with 0 additions and 21 deletions

View file

@ -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"];

View file

@ -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 = () =>