-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
1,056 additions
and
3,515 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM eclipse-temurin:17.0.6_10-jdk as builder | ||
FROM eclipse-temurin:17.0.9_9-jdk as builder | ||
|
||
ENV SMEAGOL_DIR=/usr/src/smeagol | ||
COPY mvnw pom.xml package.json yarn.lock .prettierrc ${SMEAGOL_DIR}/ | ||
|
@@ -16,9 +16,9 @@ RUN set -x \ | |
|
||
|
||
|
||
FROM registry.cloudogu.com/official/java:17.0.6-1 | ||
FROM registry.cloudogu.com/official/java:17.0.9-1 | ||
LABEL NAME="official/smeagol" \ | ||
VERSION="1.7.1-1" \ | ||
VERSION="1.7.2-1" \ | ||
maintainer="[email protected]" | ||
|
||
ENV SERVICE_TAGS=webapp \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node_modules | ||
cypress/videos | ||
cypress/screenshots |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
const doguTestLibrary = require('@cloudogu/dogu-integration-test-library'); | ||
const { defineConfig } = require('cypress'); | ||
const createBundler = require("@bahmutov/cypress-esbuild-preprocessor"); | ||
const preprocessor = require("@badeball/cypress-cucumber-preprocessor"); | ||
const createEsbuildPlugin = require("@badeball/cypress-cucumber-preprocessor/esbuild"); | ||
|
||
async function setupNodeEvents(on, config) { | ||
// This is required for the preprocessor to be able to generate JSON reports after each run, and more, | ||
await preprocessor.addCucumberPreprocessorPlugin(on, config); | ||
|
||
on( | ||
"file:preprocessor", | ||
createBundler({ | ||
plugins: [createEsbuildPlugin.default(config)], | ||
}) | ||
); | ||
|
||
config = doguTestLibrary.configure(config); | ||
|
||
return config; | ||
} | ||
|
||
module.exports = defineConfig({ | ||
e2e: { | ||
baseUrl: 'https://192.168.56.2', | ||
env: { | ||
"DoguName": "smeagol", | ||
"MaxLoginRetries": 3, | ||
"AdminUsername": "ces-admin", | ||
"AdminPassword": "ecosystem2016", | ||
"AdminGroup": "CesAdministrators" | ||
}, | ||
videoCompression: false, | ||
specPattern: ["cypress/e2e/**/*.feature"], | ||
setupNodeEvents, | ||
}, | ||
}); |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
integrationTests/cypress/support/step_definitions/required_steps_for_dogu_lib.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
{ | ||
"dependencies": { | ||
"@cloudogu/dogu-integration-test-library": "2.0.0", | ||
"cypress": "8.6.0", | ||
"cypress-cucumber-preprocessor": "4.1.0" | ||
"@badeball/cypress-cucumber-preprocessor": "^16.0.0", | ||
"@bahmutov/cypress-esbuild-preprocessor": "^2.2.0", | ||
"@cloudogu/dogu-integration-test-library": "6.0.1", | ||
"cypress": "^12.9.0", | ||
"@bahmutov/cy-api": "^2.2.4" | ||
}, | ||
"scripts": { | ||
"updateTests": "mkdir -p cypress/integration/dogu_integration_test_lib && cp -r node_modules/@cloudogu/dogu-integration-test-library/lib/integration/* cypress/integration/dogu_integration_test_lib" | ||
"updateTests": "mkdir -p cypress/e2e/dogu_integration_test_lib && cp -r node_modules/@cloudogu/dogu-integration-test-library/lib/integration/* cypress/e2e/dogu_integration_test_lib" | ||
} | ||
} |
Oops, something went wrong.