test: refs #6695 e2e fix command
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2025-02-10 08:38:12 +01:00
parent a7a97fd205
commit 634d07ab46
2 changed files with 4 additions and 2 deletions

View File

@ -3,10 +3,11 @@ import { defineConfig } from 'cypress';
// https://docs.cypress.io/app/tooling/reporters
// https://docs.cypress.io/app/references/configuration
// https://www.npmjs.com/package/cypress-mochawesome-reporter
// baseUrl: `http://${process.env.NETWORK ? 'front' : 'localhost'}:9000`,
export default defineConfig({
e2e: {
baseUrl: `http://${process.env.NETWORK ? 'front' : 'localhost'}:9000`,
baseUrl: `http://front:9000`,
experimentalStudio: false, // Desactivado para evitar tiempos de espera innecesarios
defaultCommandTimeout: 10000,
requestTimeout: 10000,

View File

@ -11,7 +11,8 @@
import { configure } from 'quasar/wrappers';
import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite';
import path from 'path';
const target = `http://${process.env.NETWORK ? 'back' : 'localhost'}:3000`;
// const target = `http://${process.env.NETWORK ? 'back' : 'localhost'}:3000`;
const target = `http://back:3000`;
export default configure(function (/* ctx */) {
return {