Skip to content

Commit

Permalink
✅ Get rid of some debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
foosel committed May 25, 2024
1 parent 28deb76 commit 8268167
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion tests/specs/generate-pdf.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down
3 changes: 0 additions & 3 deletions tests/specs/presets.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});

Expand All @@ -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);
Expand All @@ -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"));
Expand Down

0 comments on commit 8268167

Please sign in to comment.