diff --git a/.github/oxid-esales/cypress.sh b/.github/oxid-esales/cypress.sh index d6ccc0e..d0febaf 100755 --- a/.github/oxid-esales/cypress.sh +++ b/.github/oxid-esales/cypress.sh @@ -117,6 +117,7 @@ docker compose up -d || { } EXIT_CODE=$? + echo "Waiting for services to stabilize..." sleep 30 @@ -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