chore: fix puppeteer/chromium issues in CI during testing
This commit is contained in:
@@ -55,6 +55,9 @@ export async function puppeteerRunTest(opts: Partial<TestOptions>, hostUrl: stri
|
||||
|
||||
const browser = await puppeteer.launch({
|
||||
headless: isInDebugMode()? false : 'new',
|
||||
args: [
|
||||
...(process.env.PUPPETEER_CHROME_ARGS??'').split(' '),
|
||||
]// --use-gl=egl
|
||||
});
|
||||
const page = await browser.newPage();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user