| 1 | 'use strict'; |
| 2 | |
| 3 | const { config } = require( './wdio.conf' ); |
| 4 | |
| 5 | config.specs = [ __dirname + '/features/*.feature' ]; |
| 6 | config.framework = 'cucumber'; |
| 7 | config.cucumberOpts = { |
| 8 | require: [ |
| 9 | './tests/selenium/features/support/*.js', |
| 10 | './tests/selenium/features/step_definitions/index.js' |
| 11 | // search a (sub)folder for JS files with a wildcard |
| 12 | // works since version 1.1 of the wdio-cucumber-framework |
| 13 | // './src/**/*.js', |
| 14 | ] |
| 15 | }; |
| 16 | exports.config = config; |