X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/categories/modifier.php?a=blobdiff_plain;f=tests%2Fselenium%2Fwdio.conf.js;h=cf9da0c1ce7453322b0adc1cb7e3315fda1f849d;hb=d6f84e825c5b2ea214b460c5a8b204927213e75c;hp=f3e48777e11c39b2c588bbb45f3bb712d8675017;hpb=d7bc76523800bf3debc573178ff4cb0abe3f59da;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/selenium/wdio.conf.js b/tests/selenium/wdio.conf.js index f3e48777e1..cf9da0c1ce 100644 --- a/tests/selenium/wdio.conf.js +++ b/tests/selenium/wdio.conf.js @@ -3,7 +3,9 @@ /* eslint-disable no-console, comma-dangle */ 'use strict'; -const path = require( 'path' ); +const password = 'vagrant', + path = require( 'path' ), + username = 'Admin'; function relPath( foo ) { return path.resolve( __dirname, '../..', foo ); @@ -23,10 +25,10 @@ exports.config = { // Use if from tests with: // browser.options.username username: process.env.MEDIAWIKI_USER === undefined ? - 'Admin' : + username : process.env.MEDIAWIKI_USER, password: process.env.MEDIAWIKI_PASSWORD === undefined ? - 'vagrant' : + password : process.env.MEDIAWIKI_PASSWORD, // // ====== @@ -48,7 +50,8 @@ exports.config = { specs: [ relPath( './tests/selenium/specs/**/*.js' ), relPath( './extensions/*/tests/selenium/specs/**/*.js' ), - relPath( './extensions/VisualEditor/modules/ve-mw/tests/selenium/specs/**/*.js' ) + relPath( './extensions/VisualEditor/modules/ve-mw/tests/selenium/specs/**/*.js' ), + relPath( './skins/*/tests/selenium/specs/**/*.js' ), ], // Patterns to exclude. exclude: [