selenium: Temporarily drop all tests and wdio-mocha-framework
authorJames D. Forrester <jforrester@wikimedia.org>
Tue, 7 May 2019 19:43:54 +0000 (12:43 -0700)
committerJforrester <jforrester@wikimedia.org>
Mon, 3 Jun 2019 14:33:42 +0000 (14:33 +0000)
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

package.json
tests/selenium/wdio.conf.js

index 3fdd057..f448edb 100644 (file)
@@ -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"
index 56e4934..69144a1 100644 (file)
@@ -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: [