X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fselenium%2Fwdio.conf.js;h=cf9da0c1ce7453322b0adc1cb7e3315fda1f849d;hb=e47859de415ae61819278d5e83633ce353b2f022;hp=f3e48777e11c39b2c588bbb45f3bb712d8675017;hpb=da9dd0cad440a65fca60f0bfdfb079261908a278;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: [