Skip to content

Commit

Permalink
Add logs for hub and node
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Medvedev committed Dec 15, 2023
1 parent ec880ae commit ea4e32d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ jobs:
sudo safaridriver --enable
- name: Setup hub
run: java -jar selenium-server-4.16.1.jar hub &
run: java -jar selenium-server-4.16.1.jar hub > selenium-hub.log 2>&1 &

- name: Setup node
run: java -jar selenium-server-4.16.1.jar node -I "safari" &
run: java -jar selenium-server-4.16.1.jar node -I "safari" > selenium-node.log 2>&1 &

- name: Run tests for macos
run: |
timeout 60 bash -c 'while ! wget -O /dev/null -T 1 http://localhost:4444/readyz; do echo waiting for selenium server; sleep 1; done' || (cat selenium-server.log && exit 2)
timeout 60 bash -c 'while ! wget -O /dev/null -T 1 http://localhost:4444/readyz; do echo waiting for selenium server; sleep 1; done' || (cat selenium-hub.log selenium-node.log && exit 2)
tox -e tests_macos_selenium -- -m macos -n 1 tests/test_webdriver_remote.py;

0 comments on commit ea4e32d

Please sign in to comment.