Skip to content

Commit

Permalink
ZWOO-412 bump version of ci e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiankachlock committed Nov 15, 2023
1 parent 4b1c249 commit 500af53
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions e2e/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ echo "docker ready!"
# launch_app
# echo "running tests in electron..."
# if [ -n "$CY_KEY" ]; then
# docker run -i --name e2e-test-runner-electron --rm -v /app/frontend:/e2e -w /e2e --network host cypress/included:12.7.0 --record --key $CY_KEY
# docker run -i --name e2e-test-runner-electron --rm -v /app/frontend:/e2e -w /e2e --network host cypress/included:13.5.1 --record --key $CY_KEY
# else
# # dont record when the key is not supplied
# docker run -i --name e2e-test-runner-electron --rm -v /app/frontend:/e2e -w /e2e --network host cypress/included:12.7.0
# docker run -i --name e2e-test-runner-electron --rm -v /app/frontend:/e2e -w /e2e --network host cypress/included:13.5.1
# fi
# EL_EXIT_CODE=$?
# echo "electron tests ran!"
Expand All @@ -57,10 +57,10 @@ echo ""
launch_app
echo "running tests in chrome..."
if [ -n "$CY_KEY" ]; then
docker run -i --name e2e-test-runner-chrome --rm -v /app/frontend:/e2e -w /e2e --network host cypress/included:12.7.0 --browser chrome --record --key $CY_KEY
docker run -i --name e2e-test-runner-chrome --rm -v /app/frontend:/e2e -w /e2e --network host cypress/included:13.5.1 --browser chrome --record --key $CY_KEY
else
# dont record when the key is not supplied
docker run -i --name e2e-test-runner-chrome --rm -v /app/frontend:/e2e -w /e2e --network host cypress/included:12.7.0 --browser chrome
docker run -i --name e2e-test-runner-chrome --rm -v /app/frontend:/e2e -w /e2e --network host cypress/included:13.5.1 --browser chrome
fi
CH_EXIT_CODE=$?
cp /app/frontend/tests/e2e/screenshots /app/frontend/uploads/screenshots/chrome
Expand All @@ -74,10 +74,10 @@ echo ""
launch_app
echo "running tests in firefox..."
if [ -n "$CY_KEY" ]; then
docker run -i --name e2e-test-runner-firefox --rm -v /app/frontend:/e2e -w /e2e --network host cypress/included:12.7.0 --browser firefox --record --key $CY_KEY
docker run -i --name e2e-test-runner-firefox --rm -v /app/frontend:/e2e -w /e2e --network host cypress/included:13.5.1 --browser firefox --record --key $CY_KEY
else
# dont record when the key is not supplied
docker run -i --name e2e-test-runner-firefox --rm -v /app/frontend:/e2e -w /e2e --network host cypress/included:12.7.0 --browser firefox
docker run -i --name e2e-test-runner-firefox --rm -v /app/frontend:/e2e -w /e2e --network host cypress/included:13.5.1 --browser firefox
fi
FI_EXIT_CODE=$?
cp /app/frontend/tests/e2e/screenshots /app/frontend/uploads/screenshots/firefox
Expand All @@ -91,10 +91,10 @@ echo ""
launch_app
echo "running tests in edge..."
if [ -n "$CY_KEY" ]; then
docker run -i --name e2e-test-runner-edge --rm -v /app/frontend:/e2e -w /e2e --network host cypress/included:12.7.0 --browser edge --record --key $CY_KEY
docker run -i --name e2e-test-runner-edge --rm -v /app/frontend:/e2e -w /e2e --network host cypress/included:13.5.1 --browser edge --record --key $CY_KEY
else
# dont record when the key is not supplied
docker run -i --name e2e-test-runner-edge --rm -v /app/frontend:/e2e -w /e2e --network host cypress/included:12.7.0 --browser edge
docker run -i --name e2e-test-runner-edge --rm -v /app/frontend:/e2e -w /e2e --network host cypress/included:13.5.1 --browser edge
fi
ED_EXIT_CODE=$?
cp /app/frontend/tests/e2e/screenshots /app/frontend/uploads/screenshots/egde
Expand Down

0 comments on commit 500af53

Please sign in to comment.