bigbluebutton-Github/bigbluebutton-html5/tests/webdriverio/wdio.accept.conf.js

43 lines
946 B
JavaScript
Raw Normal View History

let merge = require('deepmerge');
let wdioBaseConf = require('./wdio.base.conf');
2017-12-02 00:35:09 +08:00
exports.config = merge(wdioBaseConf.config, {
2017-10-28 04:37:45 +08:00
specs: ['tests/webdriverio/specs/acceptance/**/*.spec.js'],
2017-12-02 00:35:09 +08:00
capabilities: {
chromeBrowser: {
desiredCapabilities: {
browserName: 'chrome'
}
},
firefoxBrowser: {
desiredCapabilities: {
browserName: 'firefox'
}
},
chromeMobileBrowser: {
desiredCapabilities: {
browserName: 'chrome',
chromeOptions: {
mobileEmulation: {
deviceName: 'iPhone 6'
}
}
}
}
},
2017-12-02 00:35:09 +08:00
suites: {
login: [
2017-10-28 04:37:45 +08:00
'tests/webdriverio/specs/acceptance/login.spec.js',
],
},
before: function() {
// make the properties that browsers share and the list of browserNames available:
browser.remotes = Object.keys(exports.config.capabilities);
browser.baseUrl = exports.config.baseUrl;
},
2017-12-02 00:35:09 +08:00
});