mediawiki-skins-MinervaNeue/tests/selenium/wdio.conf.cucumber.js
Jan Drewniak 26e413e04d Adding initial webdriver.io test
Porting first selenium test from Ruby to Node.js using the
mocha framework. Starting with `category.feature` test.

Tests are placed in a new `tests/selenium` folder with their
own eslint config.

Bug: T190710
Change-Id: Iad954405a5ae0608fd5dc90dd5dfa434b3781037
2019-04-08 16:05:22 -07:00

15 lines
435 B
JavaScript

const { config } = require( './wdio.conf' );
config.specs = [ __dirname + '/features/*.feature' ];
config.framework = 'cucumber';
config.cucumberOpts = {
require: [
'./tests/selenium/features/support/*.js',
'./tests/selenium/features/step_definitions/index.js'
// search a (sub)folder for JS files with a wildcard
// works since version 1.1 of the wdio-cucumber-framework
// './src/**/*.js',
]
};
exports.config = config;