diff --git a/scripts/test_e2e.sh b/scripts/test_e2e.sh index fc1c36291..22edff551 100755 --- a/scripts/test_e2e.sh +++ b/scripts/test_e2e.sh @@ -45,13 +45,13 @@ $dockerscripts/moodle-docker-wait-for-app $dockercompose exec -T webserver sh -c "php admin/tool/behat/cli/init.php" notify_on_error_exit "e2e failed initializing behat" +print_title "Running e2e tests" + # Run tests for tags in "$@" do - print_title "Running e2e tests ($tags)" - $dockercompose exec -T webserver sh -c "php admin/tool/behat/cli/run.php --tags=\"$tags\"" - notify_on_error_exit "e2e failed on $tags" + notify_on_error_exit "Some e2e tests are failing, please review" done # Clean up