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

This commit is contained in:
Alex Moreno 2025-02-10 07:50:06 +01:00
parent 884ad672b1
commit 30b0630c88
2 changed files with 5 additions and 3 deletions

2
Jenkinsfile vendored
View File

@ -110,6 +110,7 @@ pipeline {
// sh "git clone https://gitea.verdnatura.es/verdnatura/salix.git"
// }
sh "pnpm exec cypress install"
sh "docker network create ${env.NETWORK}|| true"
}
// sh 'rm -rf salix'
// sh 'git clone dev https://gitea.verdnatura.es/verdnatura/salix.git'
@ -201,5 +202,6 @@ def cleanDockerE2E() {
// sh 'docker rm -f vn-database || true'
// sh 'docker rm -f salix_e2e || true'
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml down || true"
sh "docker network rm ${env.NETWORK} || true"
}
}

View File

@ -23,9 +23,9 @@ export default defineConfig({
downloadsFolder: 'test/cypress/downloads',
video: false,
specPattern: [
// 'test/cypress/integration/entry/stockBought.spec.js',
// 'test/cypress/integration/invoiceOut/invoiceOutNegativeBases.js',
// 'test/cypress/integration/invoiceOut/invoiceOutMakeInvoice.spec.js',
'test/cypress/integration/entry/stockBought.spec.js',
'test/cypress/integration/invoiceOut/invoiceOutNegativeBases.js',
'test/cypress/integration/invoiceOut/invoiceOutMakeInvoice.spec.js',
'test/cypress/integration/item/itemTag.spec.js',
// 'test/cypress/integration/route/routeList.spec.js',
// 'test/cypress/integration/ticket/ticketList.spec.js',