Skip to content
Snippets Groups Projects
Commit a85d1802 authored by s87777's avatar s87777
Browse files

Test13

parent c6c484c6
No related branches found
No related tags found
No related merge requests found
Pipeline #50011 failed
...@@ -5,7 +5,14 @@ services: ...@@ -5,7 +5,14 @@ services:
stages: stages:
- build - build
- test - confidence-check
variables:
NPM_INSTALL: &NPM_INSTALL
- echo "install npm"
- apk update
- apk upgrade
- apk add --update nodejs npm
build_frontend: build_frontend:
stage: build stage: build
...@@ -13,10 +20,7 @@ build_frontend: ...@@ -13,10 +20,7 @@ build_frontend:
- docker:19.03.12-dind - docker:19.03.12-dind
- selenium/standalone-chrome - selenium/standalone-chrome
script: script:
- echo "install npm" *NPM_INSTALL
- apk update
- apk upgrade
- apk add --update nodejs npm
- echo "Starte den Build" - echo "Starte den Build"
- npm install - npm install
- echo "Install erfolgreich" - echo "Install erfolgreich"
...@@ -35,17 +39,14 @@ build_frontend: ...@@ -35,17 +39,14 @@ build_frontend:
- node_modules/ - node_modules/
e2e_test: e2e_test:
stage: test stage: confidence-check
needs: [build_frontend] needs: [build_frontend]
services: services:
- selenium/standalone-chrome - selenium/standalone-chrome
script: script:
- echo "install npm" *NPM_INSTALL
- apk update
- apk upgrade
- apk add --update nodejs npm
- npm install - npm install
- echo "Install erfolgreich" - echo "Install erfolgreich"
- npm start - npm start
- npm test --host=selenium__standalone-chrome - npm test confidence-check --host=selenium__standalone-chrome
- echo "Testing finshed" - echo "Testing finshed"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment