Skip to content
This repository was archived by the owner on Jun 30, 2021. It is now read-only.

Commit 60e70b3

Browse files
author
Leo Gallucci
committed
Use make wait before make test
1 parent ba832ea commit 60e70b3

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

test/script_scenario_make

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,7 @@ else
3131
# import -screen -window "${WIN_TITLE}" images/vnc_screenshot.png
3232
fi
3333

34-
set +x
35-
echo "#==================================="
36-
echo "# Waiting for the Grid before running tests."
37-
echo "#==================================="
38-
39-
while ! curl -sSL "http://localhost:4444/wd/hub/status" 2>&1 \
40-
| jq -r '.value.ready' 2>&1 | grep "true" >/dev/null; do
41-
echo 'Waiting for the Grid'
42-
sleep 1
43-
done
44-
set -x
45-
46-
34+
make wait
4735
make test
4836
rm -f videos/*.mp4
4937
make videos
@@ -81,6 +69,7 @@ if [ "${GIT_TAG_OR_BRANCH}" != "" ]; then
8169
fi
8270
# Test default 1 chrome 1 firefox case
8371
make
72+
make wait
8473
make test
8574
# Test alias
8675
make down

0 commit comments

Comments
 (0)