mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-16 18:58:45 +00:00
26e413e04d
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
15 lines
435 B
JavaScript
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;
|