Switch to line reporter and preset Chromium path

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
2026-01-19 15:19:10 -08:00
parent 9781695929
commit 28ec1bb0d6

View File

@@ -22,7 +22,7 @@ export default defineConfig({
/* Opt out of parallel tests on CI. */ /* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : 1, workers: process.env.CI ? 1 : 1,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */ /* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: 'html', reporter: 'line',
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: { use: {
/* Base URL to use in actions like `await page.goto('/')`. */ /* Base URL to use in actions like `await page.goto('/')`. */
@@ -33,6 +33,10 @@ export default defineConfig({
animations: 'disabled', animations: 'disabled',
colorScheme: 'light', colorScheme: 'light',
launchOptions: {
executablePath: process.env.PLAYWRIGHT_CHROMIUM_PATH
},
}, },
expect: { expect: {