forked from angular/components
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Refactor the situation a bit for protractor. Can run locally now
- Loading branch information
Showing
5 changed files
with
29 additions
and
118 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/** | ||
* This file is Node ES6 and will not be translated to Dart. | ||
*/ | ||
const path = require('path'); | ||
|
||
const E2E_BASE_URL = process.env['E2E_BASE_URL'] || 'http://localhost:4200'; | ||
const config = { | ||
useAllAngular2AppRoots: true, | ||
specs: [ path.join(__dirname, '../e2e/**/*.e2e.js') ], | ||
baseUrl: E2E_BASE_URL | ||
}; | ||
|
||
|
||
if (process.env['TRAVIS'] !== undefined) { | ||
const key = require('../scripts/sauce/sauce_config'); | ||
config.sauceUser = process.env['SAUCE_USERNAME']; | ||
config.sauceKey = key; | ||
config.capabilities = { | ||
'browserName': 'chrome', | ||
'tunnel-identifier': process.env['TRAVIS_JOB_NUMBER'], | ||
'build': process.env['TRAVIS_JOB_NUMBER'], | ||
'name': 'Material 2 E2E Tests' | ||
}; | ||
} | ||
|
||
|
||
exports.config = config; |