diff --git a/e2e-tests/cypress.config.ts b/e2e-tests/cypress.config.ts index 2fad72cab..3d812c464 100644 --- a/e2e-tests/cypress.config.ts +++ b/e2e-tests/cypress.config.ts @@ -33,18 +33,18 @@ export default defineConfig({ e2e: { specPattern: '**/*.feature', excludeSpecPattern: '*.js', - baseUrl: 'http://localhost:3000', + baseUrl: 'http://127.0.0.1:3000', chromeWebSecurity: false, - defaultCommandTimeout: 200000, - pageLoadTimeout: 240000, + defaultCommandTimeout: 2000, + pageLoadTimeout: 2400, supportFile: 'cypress/support/index.ts', viewportHeight: 720, viewportWidth: 1280, video: false, retries: 0, env: { - backendURL: 'http://localhost:4000', - mailserverURL: 'http://localhost:1080', + backendURL: 'http://127.0.0.1:4000', + mailserverURL: 'http://127.0.0.1:1080', loginQuery: `mutation ($email: String!, $password: String!, $publisherId: Int) { login(email: $email, password: $password, publisherId: $publisherId) { id diff --git a/e2e-tests/playwright/tests/playwright.config.ts b/e2e-tests/playwright/tests/playwright.config.ts index 84b010dc5..13ea41d89 100644 --- a/e2e-tests/playwright/tests/playwright.config.ts +++ b/e2e-tests/playwright/tests/playwright.config.ts @@ -13,7 +13,7 @@ const config: PlaywrightTestConfig = { video: 'never', viewport: { width: 1280, height: 720 }, use: { - baseURL: process.env.URL || 'http://localhost:3000', + baseURL: process.env.URL || 'http://127.0.0.1:3000', browserName: 'webkit', },