chore: automated screenshots (#667)

* chore: take screenshots on routes

* chore: update test data

* chore: update test

* chore: upgrade node in CI
This commit is contained in:
Carlos Valente
2023-12-25 19:41:45 +01:00
committed by GitHub
parent f2632412aa
commit 6ffc314513
6 changed files with 483 additions and 98 deletions
+5 -5
View File
@@ -8,7 +8,7 @@ const config: PlaywrightTestConfig = {
testDir: './e2e/tests',
timeout: 60 * 1000,
expect: {
timeout: 5000
timeout: 5000,
},
fullyParallel: true,
forbidOnly: !!process.env.CI,
@@ -16,9 +16,9 @@ const config: PlaywrightTestConfig = {
workers: 1,
reporter: 'html',
webServer: {
command: "turbo run dev:test",
command: 'turbo run dev:test',
port: 4001,
reuseExistingServer: false,
reuseExistingServer: true,
timeout: 60 * 1000,
},
use: {
@@ -30,8 +30,8 @@ const config: PlaywrightTestConfig = {
ignoreHTTPSErrors: true,
trace: 'on-first-retry',
launchOptions: {
slowMo: process.env.CI ? undefined : 250
}
slowMo: process.env.CI ? undefined : 250,
},
},
projects: [
{