This commit is contained in:
mozrokafor 2023-12-11 13:15:22 -05:00
Родитель 230a890a0e
Коммит 1f9d09a966
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -47,7 +47,7 @@ export default defineConfig({
workers: process.env.CI ? 1 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: process.env.CI ? 'github' : 'html',
reporter: process.env.CI ? [['github'], ['html']] : 'html',
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
@ -118,7 +118,7 @@ export default defineConfig({
/* Run your local dev server before starting the tests */
webServer: {
command: 'npm run build; npm start',
url: process.env.E2E_TEST_BASE_URL,
port: 6060,
reuseExistingServer: !process.env.CI,
// Building the app can take some time:
timeout: 600_000,