Skip to content

Commit

Permalink
Wait for MaMpf before opening cypress UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines committed Jul 1, 2024
1 parent 247ece2 commit ef86abc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docker/test/cypress-interactive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
services:
cypress:
# https://on.cypress.io/command-line#cypress-open
entrypoint: cypress open --project /mampf-tests/ --e2e --browser chrome
entrypoint: >
bash -c "while ! curl -s $$CYPRESS_baseUrl > /dev/null;
do echo waiting for MaMpf to come online at $$CYPRESS_baseUrl;
sleep 1; done;
cypress open --project /mampf-tests/ --e2e --browser chrome"
environment:
# for X11/Wayland in WSLg
- DISPLAY
Expand Down

0 comments on commit ef86abc

Please sign in to comment.