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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user