Page MenuHomePhabricator

Skip or fix the Minerva selenium test editor_wikitext_nosave.js browser test
Closed, ResolvedPublic

Event Timeline

Jdlrobson added subscribers: Edtadros, ovasileva, Jdlrobson.

Adding to sprint board as this test has been failing several weeks now, and as a result is losing us protection from regressions as it's teaching us to ignore these errors even if they are correct.

The test is either failing because

  1. something is broken

or 2) Problem with testing infrastructure

If the reason is that it's broken, there's potential for unbreak now, as it would suggest that editors cannot see the editor overlay or there is a problem in the log in workflow.

I would suggest the following:

  1. a web engineer analyzes what is going on here
  2. If we determines the test is flaking, disables the test immediately. if a bug fix it.
  3. If we disable the test check in with @Edtadros and @ovasileva about how important this test is.
  4. Schedule time to fix the test if important. if not, throw this task back into the backlog.
Jdlrobson renamed this task from Minerva selenium test editor_wikitext_nosave.js failing to Skip or fix the Minerva selenium test editor_wikitext_nosave.js browser test.Feb 24 2022, 12:00 AM

Change 771075 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/skins/MinervaNeue@master] Check for VisualEditor

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

I'm pretty sure this is failing because the VisuaLEditor is loading by default. We can try the above patch and if that doesn't work, skip it.

Change 771075 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] [Tests] Check for VisualEditor in editor overlay integration test

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

Change 771479 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/skins/MinervaNeue@master] Disable wikitext editor test on beta cluster

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

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

[mediawiki/skins/MinervaNeue@master] WIP selenium: Do not run tests that fail in the daily job

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

This is fixed now. The issue was that somehow, the beta cluster test user had switched to "show VisualEditor" preference. A manual intervention has fixed that behaviour.

I'm not sure how this happened - it could be that VisualEditor changed a default, or somebody logged in manually to this account and used the editor.

I'm happy we don't have to skip this.

Change 771479 abandoned by Jdlrobson:

[mediawiki/skins/MinervaNeue@master] [QA] Skip wikitext editor test on beta cluster

Reason:

No longer needed

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

Change 771692 abandoned by Zfilipin:

[mediawiki/skins/MinervaNeue@master] selenium: selenium-daily runs only tests that pass on the Beta Cluster

Reason:

Relevant task is resolved.

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