Skip to content

Commit

Permalink
increase e2e tests timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
LiveDuo committed Sep 1, 2023
1 parent 565b886 commit ddc1a15
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions e2e/base.config.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
// @ts-nocheck

import { devices } from '@playwright/test'

const baseURL = `http://localhost:3000`
const CI = process.env.CI === 'true'

const config = {
timeout: 15 * 1000,
timeout: 15 * 1000, // 15 secs
retries: 1,
reporter: CI ? 'github' : 'list',
forbidOnly: CI,
webServer: {
url: baseURL,
timeout: 60 * 1000,
timeout: 2 * 60 * 1000, // 2 mins
reuseExistingServer: true,
},
use: { baseURL, trace: 'retry-with-trace', headless: CI },
Expand Down

0 comments on commit ddc1a15

Please sign in to comment.