From b43779d38f081b9c2535651dc505ce07cbd64165 Mon Sep 17 00:00:00 2001 From: ISA Date: Mon, 13 Jan 2025 09:35:57 +0100 Subject: [PATCH] Cypress test in Jenkins --- Jenkinsfile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 902d14f40..1e367f042 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -28,6 +28,17 @@ pipeline { sh 'npm test' } } + stage('Run Cypress Tests') { + steps { + script { + // Install Cypress (falls nicht bereits installiert) + sh 'npx cypress install' + + // Cypress Tests ausführen + sh 'npx cypress run' + } + } + } } post {