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

Test27

parent 7f2407eb
No related branches found
No related tags found
No related merge requests found
Pipeline #50213 failed
...@@ -5,4 +5,4 @@ REACT_APP_API_SERVER_URL=http://127.0.0.1:80 ...@@ -5,4 +5,4 @@ REACT_APP_API_SERVER_URL=http://127.0.0.1:80
# related to proxy-setting in package.json # related to proxy-setting in package.json
DANGEROUSLY_DISABLE_HOST_CHECK=true DANGEROUSLY_DISABLE_HOST_CHECK=true
APP_TESTS_REMOTE_WEB_DRIVER_URL = selenium__standalone-chrome APP_TESTS_REMOTE_WEB_DRIVER_URL=selenium__standalone-chrome
\ No newline at end of file \ No newline at end of file
...@@ -24,9 +24,9 @@ build_test_frontend: ...@@ -24,9 +24,9 @@ build_test_frontend:
- name: selenium/standalone-chrome - name: selenium/standalone-chrome
alias: chrome alias: chrome
environment: variables:
- ENV APP_TESTS_REMOTE_WEB_DRIVER_URL=http://chrome:4444 APP_TESTS_REMOTE_WEB_DRIVER_URL: "http://chrome:4444"
- ENV REACT_APP_API_SERVER_URL=http://backend:80 REACT_APP_API_SERVER_URL: "http://backend:80"
script: script:
- echo "install npm" - echo "install npm"
...@@ -40,7 +40,7 @@ build_test_frontend: ...@@ -40,7 +40,7 @@ build_test_frontend:
- echo "Build erfolgreich" - echo "Build erfolgreich"
- npm start & - npm start &
- echo "start test" - echo "start test"
- npm test --host=$SELENIUM_HOST - npm test --host=$APP_TESTS_REMOTE_WEB_DRIVER_URL
- echo "Testing finshed" - echo "Testing finshed"
artifacts: artifacts:
......
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