fix: refs #6695 clientBasicData
gitea/salix-front/pipeline/pr-dev Something is wrong with the build of this commit
Details
gitea/salix-front/pipeline/pr-dev Something is wrong with the build of this commit
Details
This commit is contained in:
parent
13baf95902
commit
1c1d6a0ff6
|
@ -192,11 +192,11 @@ def runTestsInParallel() {
|
|||
if (testFolder.trim()) { // Evita procesar líneas vacías
|
||||
def folderName = testFolder.replaceAll('test/cypress/integration/', '').replaceAll('/', '')
|
||||
folderName = folderName.replaceAll('[^a-zA-Z0-9_-]', '') // Seguridad en nombres de red
|
||||
env.CYPRESS_SPEC="test/cypress/integration/${folderName}/**/*.spec.js"
|
||||
tasks["e2e_${folderName}"] = {
|
||||
sh "docker-compose -p ${env.NETWORK}_${folderName} -f docker-compose.e2e.yml up -d back vn-database"
|
||||
sh "docker-compose -p ${env.NETWORK}_${folderName} -f docker-compose.e2e.yml up -d front"
|
||||
sh "docker-compose -p ${env.NETWORK}_${folderName} -f docker-compose.e2e.yml up e2e " +
|
||||
"command=\"sh -c 'pnpm exec cypress install && pnpm exec cypress run --browser chromium --spec test/cypress/integration/${folderName}/**/*.spec.js'\""
|
||||
sh "docker-compose -p ${env.NETWORK}_${folderName} -f docker-compose.e2e.yml up e2e"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue