Skip to content

Commit a111e47

Browse files
Fix VS Code tests
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
1 parent 9701148 commit a111e47

File tree

1 file changed

+1
-1
lines changed
  • code/test/integration/browser/src

1 file changed

+1
-1
lines changed

code/test/integration/browser/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const height = 800;
6363
type BrowserType = 'chromium' | 'firefox' | 'webkit';
6464

6565
async function runTestsInBrowser(browserType: BrowserType, endpoint: url.UrlWithStringQuery, server: cp.ChildProcess): Promise<void> {
66-
const browser = await playwright[browserType].launch({ headless: !Boolean(args.debug) });
66+
const browser = await playwright[browserType].launch({ headless: !Boolean(args.debug), args: ['--headless=new'], });
6767
const context = await browser.newContext();
6868

6969
const page = await context.newPage();

0 commit comments

Comments
 (0)