Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit a0674e6

Browse files
author
Jacob Wenger
committed
Merge pull request #554 from jamestalmage/travis-e2e
Run e2e tests in Travis.
2 parents ab59766 + a0ee97b commit a0674e6

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"karma-chrome-launcher": "^0.1.7",
5454
"karma-coverage": "^0.2.7",
5555
"karma-failed-reporter": "0.0.3",
56+
"karma-firefox-launcher": "^0.1.4",
5657
"karma-html2js-preprocessor": "~0.1.0",
5758
"karma-jasmine": "^0.3.5",
5859
"karma-phantomjs-launcher": "~0.1.4",

tests/local_protractor.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ exports.config = {
1010
// Capabilities to be passed to the webdriver instance
1111
// For a full list of available capabilities, see https://code.google.com/p/selenium/wiki/DesiredCapabilities
1212
capabilities: {
13-
'browserName': 'chrome'
13+
'browserName': process.env.TRAVIS ? 'firefox' : 'chrome'
1414
},
1515

1616
// Calls to protractor.get() with relative paths will be prepended with the baseUrl

tests/travis.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
set -e
33
grunt build
44
grunt test:unit
5+
grunt test:e2e
56
if [ $TRAVIS_TAG ]; then
67
grunt sauce:unit;
78
fi

0 commit comments

Comments
 (0)