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