X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fselenium%2Fwdio.conf.js;h=72a89dd606dc28af308c209465f969d4edd1de3c;hp=8c956c77718dde8751aa1edb8e89ad3c09d3228d;hb=e78484109ae7bd9fd8300775fcf5028b5a3bb006;hpb=b14dd60f43a42bf9e37476529de96a23702eabdf diff --git a/tests/selenium/wdio.conf.js b/tests/selenium/wdio.conf.js index 8c956c7771..72a89dd606 100644 --- a/tests/selenium/wdio.conf.js +++ b/tests/selenium/wdio.conf.js @@ -39,28 +39,16 @@ exports.config = { // Sauce Labs // ====== // See http://webdriver.io/guide/services/sauce.html - // and https://docs.saucelabs.com/reference/platforms-configurator - services: [ 'sauce' ], - user: process.env.SAUCE_USERNAME, - key: process.env.SAUCE_ACCESS_KEY, - - // Default timeout in milliseconds for Selenium Grid requests - connectionRetryTimeout: 90 * 1000, - - // Default request retries count - connectionRetryCount: 3, + // and https://github.com/bermi/sauce-connect-launcher#advanced-usage + services: process.env.SAUCE_ACCESS_KEY ? [ 'sauce' ] : [], // ================== // Test Files - // FIXME: The non-core patterns to be removed once T199116 is fixed. // ================== specs: [ relPath( './tests/selenium/wdio-mediawiki/specs/*.js' ), relPath( './tests/selenium/specs/**/*.js' ) ], - // Patterns to exclude - exclude: [ - ], // ============ // Capabilities @@ -125,7 +113,7 @@ exports.config = { // Test reporter for stdout. // See also: http://webdriver.io/guide/testrunner/reporters.html - reporters: [ 'spec', 'junit' ], + reporters: [ 'dot', 'junit' ], reporterOptions: { junit: { outputDir: logPath