Port Selenium tests from Ruby to Node.js
Open, HighPublic

Description

Timeline

DescriptionLinksStatusStartEnd (~Estimated)
Initial research.256404 malu2015-122016-05
Browser testing user satisfaction survey.Browser testing user satisfaction survey2016-072016-09
Run WebdriverIO jobs in experimental pipeline for mediawiki/core and extensions.324416 326949 334136 3375902016-112017-02
Announce WebdriverIO to small group of early adopters.N/A2017-012017-02
Investigating three popular Selenium packages: WebDriverJs, WebdriverIO, Nightwatch.js.323401 328191 3283492016-112017-03
Update documentation.T1611032017-032017-03
Announce WebdriverIO on appropriate mailing lists (QA, engineering, wikitech-l).qa engineering wikitech-l2017-032017-04
Run WebdriverIO jobs in test and gate-and-submit pipelines for mediawiki/core and extensions, voting.3247192016-122017-04
Delete Ruby jobs as tests are moved to Node.js.T1640042017-03~2017-09
WebdriverIO in person workshop(s). (European hackathon, Wikimania...)T1599452017-03~2017-09
WebdriverIO online workshop(s) (CREDIT...).T1640702017-04~2017-05
Pairing on WebdriverIO with teams that need help.N/A2017-04~2017-09

Related Objects

There are a very large number of changes, so older changes are hidden. Show Older Changes
zeljkofilipin changed the title from "Port mediawiki/core selenium tests from ruby to javascript" to "Port mediawiki/core selenium tests from Ruby to JavaScript".Nov 24 2016, 3:34 PM
zeljkofilipin changed the title from "Port mediawiki/core selenium tests from Ruby to JavaScript" to "Port Selenium tests from Ruby to Node.js".

Change 323401 had a related patch set uploaded (by Zfilipin):
WIP Port Selenium tests from Ruby to Node.js

https://gerrit.wikimedia.org/r/323401

Change 324178 had a related patch set uploaded (by Zfilipin):
WIP mediawiki-core-qunit-jessie Jenkins job needs Vector skin

https://gerrit.wikimedia.org/r/324178

Change 324416 had a related patch set uploaded (by Zfilipin):
WIP Run experimental Node.js Selenium job for mediawiki/core in experimental pipeline

https://gerrit.wikimedia.org/r/324416

Change 324178 abandoned by Zfilipin:
WIP mediawiki-core-qunit-jessie Jenkins job needs Vector skin

Reason:
Replaced with https://gerrit.wikimedia.org/r/#/c/324416/

https://gerrit.wikimedia.org/r/324178

Change 324416 merged by jenkins-bot:
Run Node.js Selenium job for mediawiki/core in experimental pipeline

https://gerrit.wikimedia.org/r/324416

Change 324719 had a related patch set uploaded (by Zfilipin):
WIP mediawiki-core-selenium-jessie is running by default but not voting

https://gerrit.wikimedia.org/r/324719

Change 326922 had a related patch set uploaded (by Hashar):
Reuse macro in mediawiki-core-selenium-jessie

https://gerrit.wikimedia.org/r/326922

hashar added a subscriber: hashar.Dec 13 2016, 11:17 AM

https://gerrit.wikimedia.org/r/326922 slightly refactor mediawiki-core-selenium-jessie so it reuses the prepare-mediawiki-zuul-project JJB macro. Made possible by injecting the Vector skin via $SKIN_DEPENDENCIES. Also add the job to be triggered to mediawiki/skins/Vector since we will not want a change there to suddenly cause mediawiki/core build to fail.

Change 326922 merged by jenkins-bot:
Reuse macro in mediawiki-core-selenium-jessie

https://gerrit.wikimedia.org/r/326922

Change 327177 had a related patch set uploaded (by Hashar):
Properly inject SKIN_DEPENDENCIES

https://gerrit.wikimedia.org/r/327177

Change 327177 merged by jenkins-bot:
Properly inject SKIN_DEPENDENCIES

https://gerrit.wikimedia.org/r/327177

zeljkofilipin raised the priority of this task from "Normal" to "High".Jan 20 2017, 12:05 PM

Change 333896 had a related patch set uploaded (by Zfilipin):
WIP Let node-config know it should use Jenkins configuration

https://gerrit.wikimedia.org/r/333896

Change 333896 abandoned by Zfilipin:
Let node-config know it should use Jenkins configuration file for running Selenium tests.

Reason:
A different implementation in https://gerrit.wikimedia.org/r/#/c/323401/46

https://gerrit.wikimedia.org/r/333896

Change 323401 abandoned by Zfilipin:
WIP Selenium tests in Node.js using WebDriverJs

Reason:
WebdriverIO looks like the way to go. https://gerrit.wikimedia.org/r/#/c/328191/

https://gerrit.wikimedia.org/r/323401

zeljkofilipin edited the task description. (Show Details)
greg edited the task description. (Show Details)Mar 2 2017, 4:43 PM

Change 328191 had a related patch set uploaded (by Hashar; owner: Zfilipin):
[mediawiki/core] Selenium tests in Node.js using WebdriverIO

https://gerrit.wikimedia.org/r/328191

hashar edited the task description. (Show Details)Mar 8 2017, 5:05 PM

Change 328191 merged by jenkins-bot:
[mediawiki/core] Selenium tests in Node.js using WebdriverIO

https://gerrit.wikimedia.org/r/328191

zeljkofilipin moved this task from Next to In Progress on the User-zeljkofilipin board.
zeljkofilipin edited the task description. (Show Details)

Change 345824 had a related patch set uploaded (by Zfilipin):
[mediawiki/core@master] Make running Selenium tests using Sauce Labs easy

https://gerrit.wikimedia.org/r/345824

zeljkofilipin changed the status of subtask T161697: Run WebdriverIO tests using Firefox from "Open" to "Stalled".Wed, Apr 5, 2:11 PM

Mentioned in SAL (#wikimedia-releng) [2017-04-11T10:41:02Z] <hashar> Enable webdriver.io browser tests for MediaWiki core - https://gerrit.wikimedia.org/r/#/c/324719/ - T139740

Change 324719 merged by jenkins-bot:
[integration/config@master] Run webdriverio tests for MediaWiki core

https://gerrit.wikimedia.org/r/324719

Change 347587 had a related patch set uploaded (by Hashar):
[integration/config@master] Fix syntax glitch in mediawiki-core-qunit-selenium-jessie

https://gerrit.wikimedia.org/r/347587

Change 347587 merged by jenkins-bot:
[integration/config@master] Run webdriverio tests for MediaWiki core

https://gerrit.wikimedia.org/r/347587

Mentioned in SAL (#wikimedia-releng) [2017-04-13T15:15:09Z] <hashar> Deployed mediawiki-core-qunit-selenium-jessie job (runs qunit + selenium with webdriverio) https://gerrit.wikimedia.org/r/#/c/347587/ - T139740

The Jenkins job mediawiki-core-qunit-selenium-jessie runs QUnit then IF mediawiki has a wdio.conf it runs grunt webdriver:test.

Tested on master and REL1_28 and that works all fine.