mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
reduce e2e timeout, use 127.0.0.1 instead of localhost
This commit is contained in:
parent
579560c3e8
commit
643a1b2970
@ -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
|
||||
|
||||
@ -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',
|
||||
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user