Skip to content

Commit

Permalink
extend timeouts due to the local machine performance issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tryb3l committed Nov 1, 2024
1 parent 8ea4893 commit fcc8730
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e/lib/utils/config-helpers.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { devices, PlaywrightTestConfig } from '@playwright/test';

const createBaseConfig = (isCI: boolean): Partial<PlaywrightTestConfig> => ({
timeout: 100 * 1000,
timeout: 120 * 1000,
globalTimeout: 120 * 1000,
expect: {
timeout: 5000,
timeout: 10000,
},
testDir: 'e2e/tests',
fullyParallel: false,
Expand Down Expand Up @@ -38,7 +38,7 @@ const createProjects = () => [
const createWebServerConfig = (isCI: boolean) => ({
command: 'cd app && node --run start',
url: process.env.BASE_URL || 'http://localhost:4200',
timeout: 120 * 1000,
timeout: 180 * 1000,
reuseExistingServer: !isCI,
});

Expand Down

0 comments on commit fcc8730

Please sign in to comment.