MOBILE-3401 travis: Fix telegram e2e notifications

main
Pau Ferrer Ocaña 2020-06-17 12:08:33 +02:00
parent a3f29ad86d
commit 247e31add4
1 changed files with 3 additions and 3 deletions

View File

@ -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