forked from prebid/Prebid.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwdio.shared.conf.js
More file actions
27 lines (25 loc) · 948 Bytes
/
wdio.shared.conf.js
File metadata and controls
27 lines (25 loc) · 948 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
const path = require('path');
const fs = require('fs');
if (!process.env.BABEL_CACHE_PATH) {
const cacheFile = path.resolve(__dirname, '.cache', 'babel-register.json');
fs.mkdirSync(path.dirname(cacheFile), {recursive: true});
process.env.BABEL_CACHE_PATH = cacheFile;
}
exports.config = {
specs: [
'./test/spec/e2e/**/*.spec.js',
],
logLevel: 'info', // put option here: info | trace | debug | warn| error | silent
bail: 1,
waitforTimeout: 60000, // Default timeout for all waitFor* commands.
connectionRetryTimeout: 60000, // Default timeout in milliseconds for request if Selenium Grid doesn't send response
connectionRetryCount: 3, // additional retries for transient session issues
framework: 'mocha',
mochaOpts: {
ui: 'bdd',
timeout: 60000,
compilers: ['js:@babel/register'],
},
// if you see error, update this to spec reporter and logLevel above to get detailed report.
reporters: ['spec']
}