This commit is contained in:
parent
8720371827
commit
e9d4d79da0
|
@ -5,7 +5,7 @@ import { defineConfig } from 'cypress';
|
|||
|
||||
export default defineConfig({
|
||||
e2e: {
|
||||
baseUrl: 'http://localhost:9000/',
|
||||
baseUrl: 'http://127.0.0.1:9000/',
|
||||
experimentalStudio: true,
|
||||
fixturesFolder: 'test/cypress/fixtures',
|
||||
screenshotsFolder: 'test/cypress/screenshots',
|
||||
|
@ -13,7 +13,7 @@ export default defineConfig({
|
|||
videosFolder: 'test/cypress/videos',
|
||||
downloadsFolder: 'test/cypress/downloads',
|
||||
video: false,
|
||||
specPattern: 'test/cypress/integration/claim/*.spec.js',
|
||||
specPattern: 'test/cypress/integration/claim/claimAction.spec.js',
|
||||
experimentalRunAllSpecs: true,
|
||||
watchForFileChanges: true,
|
||||
reporter: 'cypress-mochawesome-reporter',
|
||||
|
|
|
@ -2,7 +2,7 @@ version: '3.7'
|
|||
services:
|
||||
front:
|
||||
image: registry.verdnatura.es/salix-frontend:${VERSION:?}
|
||||
command: quasar serve --history --proxy ./proxy.mjs --hostname localhost --port 9000
|
||||
command: quasar serve --history --proxy ./proxy.mjs --hostname 127.0.0.1 --port 9000
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./Dockerfile
|
||||
|
@ -21,6 +21,7 @@ services:
|
|||
# context: .
|
||||
# dockerfile: test/cypress/db/Dockerfile
|
||||
# network_mode: host
|
||||
# privileged: true
|
||||
# volumes:
|
||||
# - /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
|
@ -43,3 +44,4 @@ services:
|
|||
# build:
|
||||
# context: .
|
||||
# dockerfile: ./Dockerfile.e2e
|
||||
#
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
export default [
|
||||
{
|
||||
path: '/api',
|
||||
rule: { target: 'http://localhost:3000' },
|
||||
rule: { target: 'http://127.0.0.1:3000' },
|
||||
},
|
||||
];
|
||||
|
|
|
@ -109,7 +109,7 @@ export default configure(function (/* ctx */) {
|
|||
},
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:3000',
|
||||
target: 'http://127.0.0.1:3000',
|
||||
logLevel: 'debug',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
|
|
Loading…
Reference in New Issue