Page MenuHomePhabricator

Port Minerva's 7 Ruby-based browser tests to Selenium Node.js
Open, HighPublic

Description

Note: This task is large and it's not clear how to break it down. https://www.mediawiki.org/wiki/User_talk:Jdlrobson/Experiences_porting_Ruby_browser_tests_to_NodeJs provides a good summary of the problems we faced when trying to do this before. We may want to tackle one of these tests per time (to be created as part of analysis).

Background

MinervaNeue has7 browser test.
Minerva has been setup so that you can run browser tests using check experimental
A patch has been begun in WIP Port Minerva's browser tests to Selenium

Acceptance criteria

  • Rewrite all tests into Node.js
  • Make the experimental job the default. Drop the old Ruby job.

Related Objects

StatusSubtypeAssignedTask
OpenNone
ResolvedJdlrobson
DeclinedNone
ResolvedJdforrester-WMF
OpenNone
ResolvedJdlrobson
ResolvedJdlrobson
ResolvedNone
Resolvedawight
DuplicateLegoktm
StalledNone
OpenNone
Resolvedzeljkofilipin
Resolvedhashar
OpenNone
ResolvedPRODUCTION ERRORJdlrobson
ResolvedJdlrobson
ResolvedJdrewniak
OpenNone
OpenEdtadros
ResolvedNone
Resolvedzeljkofilipin

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

@zeljkofilipin is it possible to tag browser tests to only run on @integration / against beta cluster? We'll need this.

@Jdlrobson I was sure I have replied to this. :| Maybe there was a similar question somewhere else. Anyway, wdio has support for suites and Mocha has support for tags.

Probably won't get to this until December now.

Jdlrobson renamed this task from Port Minerva's browser tests to Selenium to Port Minerva's browser tests to Selenium Node.js.Nov 17 2017, 6:44 PM
Jdlrobson lowered the priority of this task from High to Medium.Feb 7 2018, 7:12 PM

Reflecting reality. Per https://www.mediawiki.org/wiki/User:Jdlrobson/Experiences_porting_Ruby_browser_tests_to_NodeJs (T181509) and the size of the browser test suite , we don't have the time to work on this right now.

Jdlrobson changed the task status from Open to Stalled.Feb 7 2018, 7:13 PM
Jdlrobson updated the task description. (Show Details)
Jdlrobson updated the task description. (Show Details)
Jdlrobson changed the task status from Stalled to Open.Mar 26 2018, 4:43 PM
Jdlrobson raised the priority of this task from Medium to High.
Jdlrobson added a project: User-Jdlrobson.

Change 421960 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[mediawiki/skins/MinervaNeue@master] QA: Remove test not adding value

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

Change 421961 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[mediawiki/skins/MinervaNeue@master] QA: Speed up browser tests by not unnecessarily opting into beta

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

Change 421960 merged by jenkins-bot:
[mediawiki/skins/MinervaNeue@master] QA: Remove test not adding value

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

Jdlrobson renamed this task from Port Minerva's browser tests to Selenium Node.js to [EPIC] Port Minerva's browser tests to Selenium Node.js.Mar 27 2018, 4:49 PM
Jdlrobson added a project: Epic.

Changing title for epic until we can split up the work more appropriately

Change 421961 merged by jenkins-bot:
[mediawiki/skins/MinervaNeue@master] QA: Speed up browser tests by not unnecessarily opting into beta

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

Change 373902 abandoned by Zfilipin:
WIP Port Minerva's browser tests to Selenium

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

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

Change 502355 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[integration/config@master] Daily Minerva Selenium Node.js job

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

Change 502356 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[integration/config@master] Run Node.js browser tests in MobileFrontend

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

Change 502355 merged by jenkins-bot:
[integration/config@master] Daily Minerva Selenium Node.js job

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

Change 543697 had a related patch set uploaded (by Edward Tadros; owner: Edward Tadros):
[mediawiki/skins/MinervaNeue@master] Fixed search_loggedin.js Selenium browser test

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

Change 556252 had a related patch set uploaded (by Hashar; owner: Jforrester):
[integration/config@master] jjb: rm selenium-MinervaNeue and selenium-QuickSurveys

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

Change 556252 merged by jenkins-bot:
[integration/config@master] jjb: rm selenium-MinervaNeue and selenium-QuickSurveys

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

Change 543697 merged by jenkins-bot:
[mediawiki/skins/MinervaNeue@master] Fixed search_loggedin.js Selenium browser test

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

Jdlrobson renamed this task from [EPIC] Port Minerva's browser tests to Selenium Node.js to Port Minerva's 7 Ruby-based browser tests to Selenium Node.js.Apr 26 2021, 6:54 PM
Jdlrobson removed a project: Epic.
Jdlrobson updated the task description. (Show Details)
Jdlrobson moved this task from Epics/Goals to Needs Prioritization on the Readers-Web-Backlog board.

Note: These tests still exist in the repo, but are no longer run.