Testing: disable puppeteer/chrome sandbox in Github Actions for Ubuntu 24.04 (#1657)

--disable-setuid-sandbox deemed acceptable by Yun as it's for Github Actions only
This commit is contained in:
Eoghan Murray
2026-04-01 12:00:00 +08:00
committed by GitHub
parent 955aa8ced0
commit 241ca72f0e
8 changed files with 16 additions and 6 deletions

View File

@@ -103,6 +103,7 @@ describe('integration tests', function (this: ISuite) {
serverURL = getServerURL(server);
browser = await puppeteer.launch({
// headless: false,
args: ['--no-sandbox', '--disable-setuid-sandbox'],
});
code = fs.readFileSync(
@@ -435,6 +436,7 @@ describe('iframe integration tests', function (this: ISuite) {
serverURL = getServerURL(server);
browser = await puppeteer.launch({
// headless: false,
args: ['--no-sandbox', '--disable-setuid-sandbox'],
});
code = fs.readFileSync(
@@ -479,6 +481,7 @@ describe('dialog integration tests', function (this: ISuite) {
serverURL = getServerURL(server);
browser = await puppeteer.launch({
// headless: false,
args: ['--no-sandbox', '--disable-setuid-sandbox'],
});
code = fs.readFileSync(
@@ -525,6 +528,7 @@ describe('shadow DOM integration tests', function (this: ISuite) {
serverURL = getServerURL(server);
browser = await puppeteer.launch({
// headless: false,
args: ['--no-sandbox', '--disable-setuid-sandbox'],
});
code = fs.readFileSync(