Page MenuHomePhabricator

Upgrade WebdriverIO in the CirrusSearch repository
Open, Needs TriagePublic

Description

Status

  • v4 - running smoke test in CI (617416) fails
  • v5 - Cindy-the-browser-test-bot fails when running 610396 without saying which tests failed
  • Vidhi still doesn't have CirrusSearch running locally, 613007 might help
  • Vidhi can't log in to horizon.wikimedia.org

TODO

  • add a separate patch renaming @selenium-test to selenium-test to check if webdriverio v4 tests pass in CI: 617416:
  • update T253869
    • count lines of code in tests/selenium and tests/integration
    • count tests in feature files (scenario and scenario outline)
  • local development environment
  • Update to v5
  • Update to v6
  • Update to v7

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 610396 had a related patch set uploaded (by Vidhi-Mody; owner: Vidhi-Mody):
[mediawiki/extensions/CirrusSearch@master] Selenium: Update to WebdriverIO v5

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

Change 613007 had a related patch set uploaded (by Zfilipin; owner: Ebernhardson):
[mediawiki/extensions/CirrusSearch@master] Bad instructions for running integration in wmcs with wmv

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

Terminal Output: Running tests targeting mediawiki-docker
https://phabricator.wikimedia.org/P11874

This is checked off but I wouldn't really consider it complete. Perhaps I'm misinterpreting the task, but the expected output is more like the following (i need to investigate these failures separately, it will be back to 0 failing soon):

2159 passing (700.00s)                                                                                                                                                     
6 skipped                                                                                                                                                                  
5 failing

This is checked off but I wouldn't really consider it complete.

@Vidhi-Mody is just trying different ways to run the tests. She tried mw-docker, but the experiment didn't go well. 😬 It's checked off as "we've tried this, didn't work, let's try something else".

I get this error when I tried setting up MediaWiki Vagrant: P12001

Change 616734 had a related patch set uploaded (by Vidhi-Mody; owner: Vidhi-Mody):
[mediawiki/extensions/CirrusSearch@master] Selenium: Update README file

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

Change 616734 merged by jenkins-bot:
[mediawiki/extensions/CirrusSearch@master] Selenium: Update README file

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

Change 617416 had a related patch set uploaded (by Vidhi-Mody; owner: Vidhi-Mody):
[mediawiki/extensions/CirrusSearch@master] Selenium: Run tests on CI

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

zeljkofilipin updated the task description. (Show Details)
zeljkofilipin updated the task description. (Show Details)

It looks like the https://github.com/montehurd/mediawiki-docker-dev-sdc setup instructions still work after all :)

I tested it on MacOS. I'll still try to create a stripped down version with only Cirrus Search configured, but in the mean time @Vidhi-Mody feel free to try the 'mediawiki-docker-dev-sdc' version if you have time.

zeljkofilipin moved this task from In Progress to Backlog on the User-Vidhi-Mody board.

Change 613007 merged by jenkins-bot:
[mediawiki/extensions/CirrusSearch@master] Bad instructions for running integration in wmcs with wmv

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

Change 698631 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/CirrusSearch@master] build: Switch wdio from 4.x (2018) to 5.x (2019)

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

Change 610396 abandoned by Jforrester:

[mediawiki/extensions/CirrusSearch@master] Selenium: Update to WebdriverIO v5

Reason:

Squashed into parent, sort-of.

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

Change 698631 merged by jenkins-bot:

[mediawiki/extensions/CirrusSearch@master] build: Switch wdio from 4.x (2018) to 5.x (2019)

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

Change 708516 had a related patch set uploaded (by Sahilgrewalhere; author: Sahilgrewalhere):

[mediawiki/extensions/CirrusSearch@master] selenium: Upgrade WebdriverIO to v7

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

Change 703927 had a related patch set uploaded (by Sahilgrewalhere; author: Sahilgrewalhere):

[wikimedia/portals/deploy@master] selenium: Upgrade WebdriverIO to v6

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

Change 714070 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/CirrusSearch@REL1_36] build: Switch wdio from 4.x (2018) to 5.x (2019)

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

Change 714077 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/CirrusSearch@REL1_35] build: Switch wdio from 4.x (2018) to 5.x (2019)

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

Change 714070 merged by jenkins-bot:

[mediawiki/extensions/CirrusSearch@REL1_36] build: Switch wdio from 4.x (2018) to 5.x (2019)

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

Change 714077 merged by jenkins-bot:

[mediawiki/extensions/CirrusSearch@REL1_35] build: Switch wdio from 4.x (2018) to 5.x (2019)

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

Change 714389 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/extensions/CirrusSearch@master] build: Add missing @wdio/cli npm package

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

Change 714389 merged by jenkins-bot:

[mediawiki/extensions/CirrusSearch@master] build: Add missing @wdio/cli npm package

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

zeljkofilipin raised the priority of this task from Medium to Needs Triage.Oct 7 2021, 5:47 PM
zeljkofilipin added a project: Browser-Tests.