Skip to content

Commit

Permalink
Updating puppeteer to v23.10.3 (#625)
Browse files Browse the repository at this point in the history
* Updating puppeteer

* Disable puppeteer chromium sandbox
  • Loading branch information
corbanbrook authored Dec 11, 2024
1 parent bb85826 commit dd7d1ad
Show file tree
Hide file tree
Showing 3 changed files with 102 additions and 40 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"mocha": "^10.1.0",
"nyc": "^17.1.0",
"prettier": "^3.0.0",
"puppeteer": "^23.6.0",
"puppeteer": "^23.10.3",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",
"tsx": "^4.19.1",
Expand Down
5 changes: 4 additions & 1 deletion packages/0xsequence/tests/utils/browser-test-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ export const runBrowserTests = async (title: string, path: string) => {
}

export const browserContext = async (t, run) => {
const browser = await puppeteer.launch({})
const browser = await puppeteer.launch({
headless: true,
args: ['--no-sandbox', '--disable-setuid-sandbox']
})
const page = await browser.newPage()
try {
await run(t, page)
Expand Down
135 changes: 97 additions & 38 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dd7d1ad

Please sign in to comment.