2
0

ci(deployment): 👷 Add e2e tests on Vercel deployment

This commit is contained in:
Baptiste Arnaud
2022-01-28 09:54:13 +01:00
parent 73f277fce7
commit 65209c2638
7 changed files with 96 additions and 93 deletions

View File

@ -11,9 +11,10 @@ const config: PlaywrightTestConfig = {
retries: process.env.CI ? 2 : 0,
workers: process.env.CI ? 1 : undefined,
reporter: 'html',
maxFailures: process.env.CI ? 10 : undefined,
use: {
actionTimeout: 0,
baseURL: process.env.NEXTAUTH_URL,
baseURL: process.env.PLAYWRIGHT_BUILDER_TEST_BASE_URL,
trace: 'on-first-retry',
storageState: path.join(__dirname, 'playwright/authenticatedState.json'),
video: 'retain-on-failure',