Skip to content

Commit

Permalink
Reduce copying of web test code
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalwengerter committed Nov 17, 2021
1 parent c7cdccf commit f549d71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion accounts/ui/tests/run-acceptance-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ clean_up() {

trap clean_up SIGHUP SIGINT SIGTERM EXIT

cp -r "$WEB_PATH"/tests "$testFolder"
cp -r "$WEB_PATH"/tests/acceptance/stepDefinitions "$testFolder"
cp "$WEB_PATH"/tests/acceptance/setup.js "$testFolder"

export SERVER_HOST=${SERVER_HOST:-https://localhost:9200}
export BACKEND_HOST=${BACKEND_HOST:-https://localhost:9200}
Expand Down
3 changes: 2 additions & 1 deletion settings/ui/tests/run-acceptance-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ clean_up() {

trap clean_up SIGHUP SIGINT SIGTERM EXIT

cp -r "$WEB_PATH"/tests "$testFolder"
cp -r "$WEB_PATH"/tests/acceptance/stepDefinitions "$testFolder"
cp "$WEB_PATH"/tests/acceptance/setup.js "$testFolder"

export SERVER_HOST=${SERVER_HOST:-https://localhost:9200}
export BACKEND_HOST=${BACKEND_HOST:-https://localhost:9200}
Expand Down

0 comments on commit f549d71

Please sign in to comment.