send/test/wdio.remote.config.js

30 lines
765 B
JavaScript
Raw Normal View History

2018-10-02 20:15:02 +00:00
const common = require('./wdio.common.conf');
const path = require('path');
/*/
Config for running saucelabs against a hosted server
/*/
exports.config = Object.assign({}, common.config, {
baseUrl: process.env.TEST_SERVER || 'https://send.dev.mozaws.net',
exclude: [
// the /test endpoint only exists on localhost
2018-10-04 00:39:39 +00:00
path.join(__dirname, './integration/unit-tests.js'),
// we don't have access to the fs in this context
path.join(__dirname, './integration/download-tests.js')
2018-10-02 20:15:02 +00:00
],
capabilities: [
{ browserName: 'firefox' },
{ browserName: 'chrome' },
{ browserName: 'MicrosoftEdge' },
{
2018-10-04 00:39:39 +00:00
browserName: 'safari'
2018-10-02 20:15:02 +00:00
}
],
services: ['sauce'],
user: process.env.SAUCE_USERNAME,
key: process.env.SAUCE_ACCESS_KEY
});