Skip to content
Snippets Groups Projects
Commit f03fdd26 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6592: Add missing config

parent fad2aafa
No related branches found
No related tags found
No related merge requests found
...@@ -684,7 +684,7 @@ String generateCypressConfig(String bezeichner, String appName, String appVarian ...@@ -684,7 +684,7 @@ String generateCypressConfig(String bezeichner, String appName, String appVarian
def namespace = generateNamespace(bezeichner) def namespace = generateNamespace(bezeichner)
def configName = "cypress-ci-"+appVariant+".json" def configName = "cypress-ci-"+appVariant+".json"
dir('alfa-client/apps/${appName}/'){ dir("alfa-client/apps/${appName}/"){
def config = readJSON file: 'cypress-ci.json' def config = readJSON file: 'cypress-ci.json'
def vorgangManagerDatabaseSecret = getVorgangManagerDatabaseSecret(namespace); def vorgangManagerDatabaseSecret = getVorgangManagerDatabaseSecret(namespace);
......
import { nxE2EPreset } from '@nx/cypress/plugins/cypress-preset';
import { defineConfig } from 'cypress';
//Cypress config is generated by JenkinsFile
const cypressConfig = require('./cypress-ci-main-tests.json');
const cypressEvents = require('./src/support/cypress-tasks.ts');
export default defineConfig({
e2e: {
...nxE2EPreset(__dirname),
...cypressConfig,
setupNodeEvents(on, config) {
return cypressEvents(on, config);
},
},
retries: {
experimentalStrategy: 'detect-flake-and-pass-on-threshold',
experimentalOptions: {
maxRetries: 2,
passesRequired: 1,
},
openMode: true,
runMode: true,
},
});
{
"env": {
"database": "vorgang-manager-database",
"keycloakClient": "alfa"
},
"fileServerFolder": ".",
"fixturesFolder": "./src/fixtures",
"modifyObstructiveCode": false,
"video": true,
"chromeWebSecurity": false,
"reporter": "../../node_modules/cypress-mochawesome-reporter",
"defaultCommandTimeout": 10000,
"supportFile": "./src/support/e2e.ts",
"testIsolation": false,
"reporterOptions": {
"html": false,
"json": true,
"quite": true,
"reportFilename": "report",
"overwrite": false
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment