From 0e85ca9ddb5f259908400463764fd6141977b341 Mon Sep 17 00:00:00 2001 From: Julie Date: Thu, 30 Jan 2014 18:49:58 -0800 Subject: chore(testing): run end to end tests on firefox and safari as well as chrome Update the Travis and Jenkins configs to run protractor tests on Safari and Firefox as well, and make the Travis tests run output XML and turn off color. Fix tests which were failing in Firefox due to clear() not working as expected. Fix tests which were failing in Safari due to SafariDriver not understanding the minus key, and disable tests which SafariDriver has no support for. --- jenkins_build.sh | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'jenkins_build.sh') diff --git a/jenkins_build.sh b/jenkins_build.sh index 17610a92..bacac5e7 100755 --- a/jenkins_build.sh +++ b/jenkins_build.sh @@ -13,12 +13,6 @@ then BROWSERS="Chrome,Firefox,Opera,/Users/jenkins/bin/safari.sh,/Users/jenkins/bin/ie8.sh,/Users/jenkins/bin/ie9.sh" fi -if [[ -z "$BROWSERS_E2E" ]] -then - BROWSERS_E2E="Chrome,Firefox,/Users/jenkins/bin/safari.sh" -fi - - # CLEAN # rm -f angular.min.js.gzip.size rm -f angular.js.size @@ -28,6 +22,8 @@ rm -f angular.js.size npm install --color false grunt ci-checks package --no-color +mkdir test_out + # DOCS generator unit tests # grunt test:docgen --no-color @@ -35,7 +31,9 @@ grunt test:docgen --no-color grunt test:unit --browsers $BROWSERS --reporters=dots,junit --no-colors --no-color # END TO END TESTS # -grunt test:protractor +grunt test:ci-protractor +grunt test:ci-protractor --browser safari +grunt test:ci-protractor --browser firefox # Promises/A+ TESTS # grunt test:promises-aplus --no-color -- cgit v1.2.3