X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fselenium%2Fwdio.conf.js;h=f3e48777e11c39b2c588bbb45f3bb712d8675017;hb=30cfcd39a574fe82842e002be93fdf6f8cdd81c2;hp=c8fb8a743533bbdd3fa290e7f74d36702b31bcab;hpb=8e185ecb2b53217665ea53f63119a28b3f80ff56;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/selenium/wdio.conf.js b/tests/selenium/wdio.conf.js index c8fb8a7435..f3e48777e1 100644 --- a/tests/selenium/wdio.conf.js +++ b/tests/selenium/wdio.conf.js @@ -1,7 +1,6 @@ -/* eslint comma-dangle: 0 */ -/* eslint no-undef: "error" */ -/* eslint no-console: 0 */ /* eslint-env node */ +/* eslint no-undef: "error" */ +/* eslint-disable no-console, comma-dangle */ 'use strict'; const path = require( 'path' ); @@ -114,12 +113,12 @@ exports.config = { // with "/", then the base url gets prepended. baseUrl: ( process.env.MW_SERVER === undefined ? - 'http://127.0.0.1:8080' : - process.env.MW_SERVER + 'http://127.0.0.1:8080' : + process.env.MW_SERVER ) + ( process.env.MW_SCRIPT_PATH === undefined ? - '/w' : - process.env.MW_SCRIPT_PATH + '/w' : + process.env.MW_SCRIPT_PATH ), // // Default timeout for all waitFor* commands.