test: fix the headless flag in the smoke test (#11894)

This commit is contained in:
Alex Rudenko 2024-02-12 13:03:51 +01:00 committed by GitHub
parent acce1d6128
commit 823f8688f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@
const puppeteer = require('puppeteer');
(async () => {
const browser = await puppeteer.launch({headless: 'new'});
const browser = await puppeteer.launch();
const page = await browser.newPage();
await page.goto('https://example.com');
await browser.close();