| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
'use strict'; |
| 6 |
|
| 7 |
const path = require( 'path' ), |
| 8 |
coreConfig = require( '../wdio.conf' ), |
| 9 |
relPath = ( foo ) => path.resolve( __dirname, '../..', foo ), |
| 10 |
MinervaConfig = Object.assign( coreConfig.config, { |
| 11 |
services: [], |
| 12 |
specs: [ |
| 13 |
relPath( './selenium/features/*.feature' ) |
| 14 |
], |
| 15 |
cucumberOpts: { |
| 16 |
tagsInTitle: true, |
| 17 |
timeout: 20000, |
| 18 |
require: [ |
| 19 |
relPath( './selenium/features/support/world.js' ), |
| 20 |
relPath( './selenium/features/support/hooks.js' ), |
| 21 |
relPath( './selenium/features/step_definitions/create_page_api_steps.js' ), |
| 22 |
relPath( './selenium/features/step_definitions/common_steps.js' ), |
| 23 |
relPath( './selenium/features/step_definitions/category_steps.js' ), |
| 24 |
relPath( './selenium/features/step_definitions/editor_steps.js' ), |
| 25 |
relPath( './selenium/features/step_definitions/diff_steps.js' ), |
| 26 |
relPath( './selenium/features/step_definitions/special_history_steps.js' ) |
| 27 |
] |
| 28 |
}, |
| 29 |
framework: 'cucumber' |
| 30 |
} ); |
| 31 |
|
| 32 |
exports.config = MinervaConfig; |