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:
@@ -1413,7 +1413,9 @@ describe('diff algorithm for rrdom', () => {
|
||||
* If the selector match is case insensitive, it will cause some CSS style problems in the replayer.
|
||||
* This test result executed in JSDom is different from that in real browser so we use puppeteer as test environment.
|
||||
*/
|
||||
const browser = await puppeteer.launch();
|
||||
const browser = await puppeteer.launch({
|
||||
args: ['--no-sandbox', '--disable-setuid-sandbox'],
|
||||
});
|
||||
const page = await browser.newPage();
|
||||
await page.goto('about:blank');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user