From d07c2f61e22677c04aad3da07c22109accc82aa4 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 28 Oct 2024 17:08:21 +0100 Subject: [PATCH] test: use 'chrome' for UI mode tests --- tests/playwright-test/ui-mode-fixtures.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/playwright-test/ui-mode-fixtures.ts b/tests/playwright-test/ui-mode-fixtures.ts index d0a508da77..43089aa1d0 100644 --- a/tests/playwright-test/ui-mode-fixtures.ts +++ b/tests/playwright-test/ui-mode-fixtures.ts @@ -107,13 +107,11 @@ export const test = base cwd: options.cwd ? path.resolve(baseDir, options.cwd) : baseDir, }); let page: Page; - // Use the browser from ToT so that we don't need to install a stable test runner one. - const executablePath = require('../../packages/playwright-core').chromium.executablePath(); if (options.useWeb) { await testProcess.waitForOutput('Listening on'); const line = testProcess.output.split('\n').find(l => l.includes('Listening on')); const uiAddress = line!.split(' ')[2]; - browser = await chromium.launch({ executablePath }); + browser = await chromium.launch({ channel: 'chrome' }); page = await browser.newPage(); await page.goto(uiAddress); } else {