commit | 69e02800e57c02357c76378d60058457b15ec94e | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Wed Nov 08 14:37:22 2023 +0100 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Wed Nov 08 14:37:22 2023 +0100 |
tree | e0c268e72d475ecac2ac1d563d0e336d2913741a | |
parent | 6b4b68ebbefe99ea10b9c334d5feb901fd086e1e [diff] |
Use headless:"new" mode for puppeteer Change-Id: I2fb01ed4927e959ae64189609bb882339b7937cb
diff --git a/test/korap-ui.js b/test/korap-ui.js index 2d82fc9..9adfbc8 100644 --- a/test/korap-ui.js +++ b/test/korap-ui.js
@@ -18,7 +18,9 @@ describe('Running KorAP UI end-to-end tests on ' + KORAP_URL, () => { before(async () => { - browser = await puppeteer.launch() + browser = await puppeteer.launch({ + headless: "new", + }) page = await browser.newPage() await page.setViewport({ width: 1280,