chore: fix puppeteer/chromium issues in CI during testing
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
2024-03-29 17:52:40 +01:00
parent 141c48730a
commit 68eb2e3ea1
5 changed files with 102 additions and 76 deletions

View File

@@ -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();