Skip to content

Commit

Permalink
TC-47 Test cypress e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniil Tkachev committed Jan 16, 2025
1 parent 325a90d commit 7157f9a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/oxid-esales/cypress.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ docker compose up -d || {
}
EXIT_CODE=$?


echo "Waiting for services to stabilize..."
sleep 30

Expand Down Expand Up @@ -148,9 +149,9 @@ fi

# Exit with the Cypress exit code
if [ $EXIT_CODE -eq 0 ]; then
echo "Cypress tests passed successfully!"
echo -e "${GREEN}Cypress tests passed successfully!${NC}"
exit 0
else
echo "Cypress tests failed with exit code: $EXIT_CODE"
echo -e "${RED}Cypress tests failed with exit code: $EXIT_CODE ${NC}"
exit $EXIT_CODE
fi

0 comments on commit 7157f9a

Please sign in to comment.