Skip to content

Commit 87386aa

Browse files
committed
fix: fix puppeteer launch param
1 parent 566be79 commit 87386aa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/puppeteer-with-vitest-demo.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Puppeteer Demo
1+
name: Puppeteer with Vitest Demo
22

33
on:
44
workflow_dispatch:

puppeteer-with-vitest-demo/tests/demo.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ describe("Test todo list", () => {
1414
beforeAll(async () => {
1515
const browser = await puppeteer.launch({
1616
headless: true,
17+
args: ["--no-sandbox", "--disable-setuid-sandbox"],
1718
});
1819
const page = await browser.newPage();
1920
await page.goto(pageUrl);

0 commit comments

Comments
 (0)