From: James D. Forrester Date: Mon, 3 Jun 2019 17:58:18 +0000 (-0700) Subject: selenium: Re-add all tests and wdio-mocha-framework, now v0.6.4 X-Git-Tag: 1.34.0-rc.0~1530^2 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=effb830977c8ae55fec48996ce82456a40f8e01a;p=lhc%2Fweb%2Fwiklou.git selenium: Re-add all tests and wdio-mocha-framework, now v0.6.4 This reverts commit c3878c08b5275123972354ba5479d3315c4fefb4. Now that we're running on node10, this will fail until we fix things. Bug: T213268 Bug: T222406 Change-Id: I5935fc5d5bc23978e50275d3c99ac870b3b82f49 --- diff --git a/package.json b/package.json index f448edb90c..8fec026130 100644 --- a/package.json +++ b/package.json @@ -6,9 +6,9 @@ "qunit": "grunt qunit", "doc": "jsduck", "postdoc": "grunt copy:jsduck", - "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" + "selenium": "bash ./tests/selenium/selenium.sh", + "selenium-daily": "npm run selenium-test -- --mochaOpts.grep @daily", + "selenium-test": "wdio ./tests/selenium/wdio.conf.js" }, "devDependencies": { "eslint-config-wikimedia": "0.12.0", @@ -31,6 +31,7 @@ "stylelint-config-wikimedia": "0.5.0", "wdio-junit-reporter": "0.2.0", "wdio-mediawiki": "file:tests/selenium/wdio-mediawiki", + "wdio-mocha-framework": "0.6.4", "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 69144a1501..56e4934b7c 100644 --- a/tests/selenium/wdio.conf.js +++ b/tests/selenium/wdio.conf.js @@ -55,13 +55,12 @@ exports.config = { // FIXME: The non-core patterns to be removed once T199116 is fixed. // ================== specs: [ - // 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' ) + 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: [