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:
@@ -242,7 +242,9 @@ describe('RRDocument for browser environment', () => {
|
||||
let page: puppeteer.Page;
|
||||
|
||||
beforeAll(async () => {
|
||||
browser = await puppeteer.launch();
|
||||
browser = await puppeteer.launch({
|
||||
args: ['--no-sandbox', '--disable-setuid-sandbox'],
|
||||
});
|
||||
code = fs.readFileSync(
|
||||
path.resolve(__dirname, '../dist/rrdom.umd.cjs'),
|
||||
'utf8',
|
||||
|
||||
Reference in New Issue
Block a user