Added webdriverio integration tests
This commit is contained in:
parent
bd02b7db8e
commit
23d629b80b
40 changed files with 10815 additions and 4163 deletions
35
test/wdio.saucelabs.config.js
Normal file
35
test/wdio.saucelabs.config.js
Normal file
|
@ -0,0 +1,35 @@
|
|||
const common = require('./wdio.common.conf');
|
||||
const path = require('path');
|
||||
|
||||
/*/
|
||||
|
||||
Config for running saucelabs against localhost
|
||||
|
||||
/*/
|
||||
|
||||
exports.config = Object.assign({}, common.config, {
|
||||
maxInstances: 2,
|
||||
capabilities: [
|
||||
{ browserName: 'firefox' },
|
||||
{ browserName: 'chrome' },
|
||||
{ browserName: 'MicrosoftEdge' },
|
||||
{
|
||||
browserName: 'safari',
|
||||
exclude: [
|
||||
// The safari driver doesn't support file uploads
|
||||
// via input elements, but unit-tests.js covers
|
||||
// the lower level uploading
|
||||
path.join(__dirname, './ui/upload-tests.js')
|
||||
]
|
||||
}
|
||||
],
|
||||
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
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue