diff --git a/Jenkinsfile b/Jenkinsfile index 1d6ec3a51..919db8949 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -132,9 +132,16 @@ pipeline { } } stage('Run E2E') { - steps { - script { - runCypressTests(['claim', 'ticket']) + parallel{ + stage('Claim') { + steps { + sh 'docker-compose run e2e npx cypress run --config specPattern=test/cypress/integration/claim/**/*.spec.js' + } + } + stage('Ticket') { + steps { + sh 'docker-compose run e2e npx cypress run --config specPattern=test/cypress/integration/ticket/**/*.spec.js' + } } } }