Skip to content

Commit

Permalink
Merge pull request #1287 from opentripplanner/puppeteer-no-sandbox
Browse files Browse the repository at this point in the history
Fix Puppeteer tests
  • Loading branch information
binh-dam-ibigroup authored Oct 16, 2024
2 parents 4c6b236 + c847025 commit 89c4258
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion a11y/a11y.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ beforeAll(async () => {
})
// Web security is disabled to allow requests to the mock OTP server
browser = await puppeteer.launch({
args: ['--disable-web-security']
args: ['--disable-web-security', '--no-sandbox']
})
})

Expand Down
2 changes: 1 addition & 1 deletion percy/percy.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ beforeAll(async () => {

// Web security is disabled to allow requests to the mock OTP server
browser = await puppeteer.launch({
args: ['--disable-web-security']
args: ['--disable-web-security', '--no-sandbox']
//, headless: false
})
} catch (error) {
Expand Down

0 comments on commit 89c4258

Please sign in to comment.