Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
test: use 'chrome' for UI mode tests (#33329)
Max Schmitt19e863191c9e
diff --git a/tests/playwright-test/ui-mode-fixtures.ts b/tests/playwright-test/ui-mode-fixtures.tsindex 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 = basecwd: 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 {