Skip to content

Commit

Permalink
test: update URL in PDF download test case
Browse files Browse the repository at this point in the history
  • Loading branch information
ax-sh committed Dec 2, 2024
1 parent ab98230 commit 7cb3331
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion puppet.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ test.describe("Playwright Browser Testing", () => {
expect(exists).toBe(true);
});
test("should download a pdf", async ({ page }) => {
await page.goto("https://example.com");
let url:string;
url = "https://example.com"
url = 'https://ax-sh.github.io/'
await page.goto(url);
const pdfBuffer = await page.pdf({
format: "A4",
// displayHeaderFooter:true,
Expand Down

0 comments on commit 7cb3331

Please sign in to comment.