diff --git a/goofy-client/apps/goofy-e2e/Jenkinsfile b/goofy-client/apps/goofy-e2e/Jenkinsfile index 1711691dcc197df3af1e132c648a0851c5e93622..c3aae82fdfaa6dd65d93aed958a9e6104c2a0662 100644 --- a/goofy-client/apps/goofy-e2e/Jenkinsfile +++ b/goofy-client/apps/goofy-e2e/Jenkinsfile @@ -606,13 +606,12 @@ Void publishE2ETestResult(String reportFolder, String reportName) { String runTests(String bezeichner, String reportFolder, Integer dbPort, String stageName) { def config = generateCypressConfig(bezeichner, reportFolder, dbPort) - def specFolder = "apps/goofy-e2e/src/e2e/${reportFolder}" + def spec = "apps/goofy-e2e/src/e2e/${reportFolder}" try { dir('goofy-client'){ sh "npm run cypress:version" - sh "ls -al" - sh "npm run cypress:ci-run --CONFIG_FILE=${configFile} --REPORT_FOLDER=${reportFolder}" + sh "npm run cypress:ci-run --CONFIG=${configFile} --REPORT_FOLDER=${reportFolder} --SPEC=${spec}" } } catch (Exception e) { printNpmDebugLog() @@ -667,13 +666,9 @@ String generateCypressConfig(String bezeichner, String testFolder, Integer dbPor config.env.keycloakRealm = namespace as String config.env.keycloakClient = "alfa" as String config.env.sabineUuid = getKeycloakUuid(namespace, "sabine") as String - config.video = false config.videosFolder = "./reports/${testFolder}/videos" as String config.screenshotsFolder = "./reports/${testFolder}/screenshots" as String config.reporterOptions.reportDir = "./reports/${testFolder}/mochawesome-report" as String - config.reporterOptions.quite = true - config.reporterOptions.overwrite = false - config.specPattern = 'src/e2e/**/*.cy.{js,jsx,ts,tsx}' config.env.put("search", getElasticsearchEnv(namespace)) config.env.put("userManager", getUserManagerEnv(namespace, dbPort))