25 lines
447 B
JavaScript
25 lines
447 B
JavaScript
|
const { config } = require('./wdio.shared.conf')
|
||
|
|
||
|
exports.config = {
|
||
|
/**
|
||
|
* base config
|
||
|
*/
|
||
|
...config,
|
||
|
/**
|
||
|
* config for local testing
|
||
|
*/
|
||
|
maxInstances: 1,
|
||
|
services: ['chromedriver'],
|
||
|
capabilities: [
|
||
|
{
|
||
|
browserName: 'chrome',
|
||
|
acceptInsecureCerts: true,
|
||
|
'goog:chromeOptions': {
|
||
|
args: process.argv.includes('--headless')
|
||
|
? ['--headless', '--disable-gpu']
|
||
|
: []
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|