2017-05-15 09:29:00 +08:00
|
|
|
exports.config = {
|
2017-06-03 08:25:39 +08:00
|
|
|
specs: ['tests/webdriverio/specs/**/*.spec.js'],
|
|
|
|
capabilities: [
|
|
|
|
{
|
|
|
|
browserName: 'chrome',
|
2017-05-28 13:07:06 +08:00
|
|
|
},
|
2017-06-03 08:25:39 +08:00
|
|
|
],
|
|
|
|
baseUrl: 'http://localhost:8080',
|
|
|
|
framework: 'jasmine',
|
2017-06-05 07:25:51 +08:00
|
|
|
reporters: ['spec', 'junit'],
|
|
|
|
reporterOptions: {
|
|
|
|
junit: {
|
|
|
|
outputDir: './tests/webdriverio/reports'
|
|
|
|
},
|
|
|
|
},
|
2017-06-03 08:25:39 +08:00
|
|
|
screenshotPath: 'screenshots',
|
|
|
|
suites: {
|
|
|
|
login: [
|
|
|
|
'tests/webdriverio/specs/login.spec.js',
|
|
|
|
],
|
|
|
|
},
|
2017-05-15 09:29:00 +08:00
|
|
|
};
|
|
|
|
|