2018-10-02 22:15:02 +02:00
|
|
|
const common = require('./wdio.common.conf');
|
|
|
|
const path = require('path');
|
|
|
|
|
|
|
|
/*/
|
|
|
|
|
|
|
|
Config for running saucelabs against localhost
|
|
|
|
|
|
|
|
/*/
|
|
|
|
|
|
|
|
exports.config = Object.assign({}, common.config, {
|
|
|
|
maxInstances: 2,
|
2018-10-04 02:39:39 +02:00
|
|
|
exclude: [path.join(__dirname, './integration/download-tests.js')],
|
2018-10-02 22:15:02 +02:00
|
|
|
capabilities: [
|
|
|
|
{ browserName: 'firefox' },
|
|
|
|
{ browserName: 'chrome' },
|
|
|
|
{ browserName: 'MicrosoftEdge' },
|
|
|
|
{
|
2018-10-04 02:39:39 +02:00
|
|
|
browserName: 'safari'
|
2018-10-02 22:15:02 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
services: ['sauce', require('./testServer')],
|
|
|
|
sauceConnect: true,
|
|
|
|
sauceConnectOpts: {
|
|
|
|
// uncomment to debug
|
|
|
|
// logfile: __dirname + '/sc.log',
|
|
|
|
// verbose: true
|
|
|
|
},
|
|
|
|
user: process.env.SAUCE_USERNAME,
|
|
|
|
key: process.env.SAUCE_ACCESS_KEY
|
|
|
|
});
|