Use headless mode by default for Playwright tests

no issue

The setting `headless: false` is superceded by using `PWDEBUG=1` as an
environment variable during debug sessions / while working on tests.
This commit is contained in:
Sam Lord 2022-11-28 10:51:08 +00:00
parent 1161ab98f9
commit 60b924f173

View File

@ -6,8 +6,7 @@ const config = {
use: { use: {
// Use a single browser since we can't simultaneously test multiple browsers // Use a single browser since we can't simultaneously test multiple browsers
browserName: 'chromium', browserName: 'chromium',
baseURL: process.env.TEST_URL ?? 'http://localhost:2368', baseURL: process.env.TEST_URL ?? 'http://localhost:2368'
headless: false
} }
}; };