-
Notifications
You must be signed in to change notification settings - Fork 265
/
protractor.sauce.conf.js
40 lines (38 loc) · 969 Bytes
/
protractor.sauce.conf.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*global jasmine */
var SpecReporter = require('jasmine-spec-reporter');
var buildNumber = 'travis-build#' + process.env.TRAVIS_BUILD_NUMBER;
exports.config = {
sauceUser: process.env.SAUCE_USERNAME,
sauceKey: process.env.SAUCE_ACCESS_KEY,
allScriptsTimeout: 11000,
specs: [
'./tmp/e2e/**/*.e2e-spec.js'
],
multiCapabilities: [
{
browserName: 'safari',
platform: 'OS X 10.11',
name: "safari-osx-tests",
shardTestFiles: true,
maxInstances: 5
}
],
sauceBuild: buildNumber,
directConnect: false,
baseUrl: 'https://adriancarriger.github.io/clean-to-the-core/',
framework: 'jasmine',
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 30000,
print: function() {}
},
useAllAngular2AppRoots: true,
beforeLaunch: function() {
require('ts-node').register({
project: 'e2e'
});
},
onPrepare: function() {
jasmine.getEnv().addReporter(new SpecReporter());
}
};