Skip to content

Commit

Permalink
Add more sauce lab tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Christof committed Jun 4, 2014
1 parent 2eb97bb commit 02efa8f
Showing 1 changed file with 24 additions and 49 deletions.
73 changes: 24 additions & 49 deletions protractor-config-travis.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,59 +2,34 @@

var devServerPort = 8084;
var specE2eFiles = 'spec-e2e/**/*.js';
function createCapabality(browser, version, platform) {
return {
'browserName': browser,
'version': version,
'platform': platform,
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
'build': process.env.TRAVIS_BUILD_NUMBER,
};
}

/* global exports */
exports.config = {
sauceUser: 'arethusa',
sauceKey: '8e76fe91-f0f5-4e47-b839-0b04305a5a5c',
specs: [specE2eFiles],
multiCapabilities: [{
'browserName': 'chrome',
'version': '34',
'platform': 'Linux',
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
'build': process.env.TRAVIS_BUILD_NUMBER,
}, {
'browserName': 'chrome',
'version': '33',
'platform': 'Linux',
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
'build': process.env.TRAVIS_BUILD_NUMBER,
}, {
'browserName': 'chrome',
'version': '32',
'platform': 'Linux',
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
'build': process.env.TRAVIS_BUILD_NUMBER,
}, {
'browserName': 'chrome',
'version': '34',
'platform': 'Windows 7',
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
'build': process.env.TRAVIS_BUILD_NUMBER,
}, {
'browserName': 'chrome',
'version': '33',
'platform': 'Windows 7',
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
'build': process.env.TRAVIS_BUILD_NUMBER,
}, {
'browserName': 'chrome',
'version': '32',
'platform': 'Windows 7',
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
'build': process.env.TRAVIS_BUILD_NUMBER,
}, {
'browserName': 'firefox',
'version': '26',
'platform': 'Windows 7',
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
'build': process.env.TRAVIS_BUILD_NUMBER,
}
/*, {
'browserName': 'firefox',
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
'build': process.env.TRAVIS_BUILD_NUMBER,
}*/],
//capabilities: {'browserName': 'firefox'},
multiCapabilities: [
createCapabality('chrome', '30', 'Linux'),
createCapabality('chrome', '31', 'Linux'),
createCapabality('chrome', '32', 'Linux'),
createCapabality('chrome', '33', 'Linux'),
createCapabality('chrome', '34', 'Linux'),
createCapabality('chrome', '30', 'Windows 7'),
createCapabality('chrome', '31', 'Windows 7'),
createCapabality('chrome', '32', 'Windows 7'),
createCapabality('chrome', '33', 'Windows 7'),
createCapabality('chrome', '34', 'Windows 7'),
createCapabality('firefox', '25', 'Windows 7'),
createCapabality('firefox', '26', 'Windows 7')
],
baseUrl: 'http://localhost:' + devServerPort
};

0 comments on commit 02efa8f

Please sign in to comment.