From 8268167f0f46b44d0d3db99567250214341ac5cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Sat, 25 May 2024 19:08:53 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Get=20rid=20of=20some=20debug=20log?= =?UTF-8?q?ging?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/specs/generate-pdf.spec.js | 1 - tests/specs/presets.spec.js | 3 --- 2 files changed, 4 deletions(-) diff --git a/tests/specs/generate-pdf.spec.js b/tests/specs/generate-pdf.spec.js index ff927f7..bed6f71 100644 --- a/tests/specs/generate-pdf.spec.js +++ b/tests/specs/generate-pdf.spec.js @@ -50,7 +50,6 @@ test("Simple PDF generation", async ({page, testPdf}, testInfo) => { } catch (error) { result = error; } - console.log("Result:", result); expect(result.message).toBeUndefined(); expect(result.status).toBe("passed") } diff --git a/tests/specs/presets.spec.js b/tests/specs/presets.spec.js index 9a74cad..a08b23c 100644 --- a/tests/specs/presets.spec.js +++ b/tests/specs/presets.spec.js @@ -48,7 +48,6 @@ test.beforeEach(async ({page, testPdf}) => { await page.goto("./"); const storage = await pageStorage(page); await storage.setItem("preset-test-pdf", JSON.stringify(testPdf.preset)); - console.log("Local Storage:", await storage.getAll()); await page.reload(); }); @@ -68,7 +67,6 @@ test("Add preset", async ({page}) => { await page.locator("#saveNewPreset").click(); const storage = await pageStorage(page); - console.log("Local Storage:", await storage.getAll()); await expect(storage.hasItem("preset-shiny-new-preset")).toBeTruthy(); await expect(page.locator("#preset option")).toHaveCount(3); @@ -88,7 +86,6 @@ test("Update preset", async ({page, testPdf}) => { await page.locator("#updatePreset").click(); const storage = await pageStorage(page); - console.log("Local Storage:", await storage.getAll()); await expect(storage.hasItem("preset-test-pdf")).toBeTruthy(); const updatedPreset = JSON.parse(await storage.getItem("preset-test-pdf"));