mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 22:50:53 +03:00
Added webdriverio integration tests
This commit is contained in:
committed by
Danny Coates
parent
bd02b7db8e
commit
23d629b80b
28
test/wdio.remote.config.js
Normal file
28
test/wdio.remote.config.js
Normal file
@@ -0,0 +1,28 @@
|
||||
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
|
||||
path.join(__dirname, './ui/unit-tests.js')
|
||||
],
|
||||
capabilities: [
|
||||
{ browserName: 'firefox' },
|
||||
{ browserName: 'chrome' },
|
||||
{ browserName: 'MicrosoftEdge' },
|
||||
{
|
||||
browserName: 'safari',
|
||||
exclude: [path.join(__dirname, './ui/upload-tests.js')]
|
||||
}
|
||||
],
|
||||
services: ['sauce'],
|
||||
user: process.env.SAUCE_USERNAME,
|
||||
key: process.env.SAUCE_ACCESS_KEY
|
||||
});
|
||||
Reference in New Issue
Block a user