From: James D. Forrester Date: Tue, 7 May 2019 19:43:54 +0000 (-0700) Subject: selenium: Temporarily drop all tests and wdio-mocha-framework X-Git-Tag: 1.34.0-rc.0~1535^2 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=c3878c08b5275123972354ba5479d3315c4fefb4;p=lhc%2Fweb%2Fwiklou.git selenium: Temporarily drop all tests and wdio-mocha-framework This is so that we can migrate to node 10 in CI. It should only land for an hour or so, and is to be reverted as soon as we get CI up to node 10 and working, lest our suites of selenium tests become subject to bitrot. Bug: T222406 Change-Id: I9473e0213c070a0e963913fd81062c6bbf9ec2f2 --- diff --git a/package.json b/package.json index 3fdd057595..f448edb90c 100644 --- a/package.json +++ b/package.json @@ -6,9 +6,9 @@ "qunit": "grunt qunit", "doc": "jsduck", "postdoc": "grunt copy:jsduck", - "selenium": "bash ./tests/selenium/selenium.sh", - "selenium-daily": "npm run selenium-test -- --mochaOpts.grep @daily", - "selenium-test": "wdio ./tests/selenium/wdio.conf.js" + "selenium": "echo 'ALL SELENIUM TESTING IS TEMPORARILY DISABLED T222406' # bash ./tests/selenium/selenium.sh", + "selenium-daily": "echo 'ALL SELENIUM TESTING IS TEMPORARILY DISABLED T222406' npm run selenium-test -- --mochaOpts.grep @daily", + "selenium-test": "echo 'ALL SELENIUM TESTING IS TEMPORARILY DISABLED T222406' wdio ./tests/selenium/wdio.conf.js" }, "devDependencies": { "eslint-config-wikimedia": "0.12.0", @@ -31,7 +31,6 @@ "stylelint-config-wikimedia": "0.5.0", "wdio-junit-reporter": "0.2.0", "wdio-mediawiki": "file:tests/selenium/wdio-mediawiki", - "wdio-mocha-framework": "0.5.13", "wdio-sauce-service": "0.3.1", "wdio-spec-reporter": "0.0.5", "webdriverio": "4.12.0" diff --git a/tests/selenium/wdio.conf.js b/tests/selenium/wdio.conf.js index 56e4934b7c..69144a1501 100644 --- a/tests/selenium/wdio.conf.js +++ b/tests/selenium/wdio.conf.js @@ -55,12 +55,13 @@ exports.config = { // 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' ), - relPath( './extensions/*/tests/selenium/specs/**/*.js' ), - relPath( './extensions/VisualEditor/modules/ve-mw/tests/selenium/specs/**/*.js' ), - relPath( './extensions/Wikibase/repo/tests/selenium/specs/**/*.js' ), - relPath( './skins/*/tests/selenium/specs/**/*.js' ) + // T222406: Temporarily disabling all selenium tests for node6->10 CI migration + // relPath( './tests/selenium/wdio-mediawiki/specs/*.js' ), + // relPath( './tests/selenium/specs/**/*.js' ), + // relPath( './extensions/*/tests/selenium/specs/**/*.js' ), + // relPath( './extensions/VisualEditor/modules/ve-mw/tests/selenium/specs/**/*.js' ), + // relPath( './extensions/Wikibase/repo/tests/selenium/specs/**/*.js' ), + // relPath( './skins/*/tests/selenium/specs/**/*.js' ) ], // Patterns to exclude exclude: [