Page MenuHomePhabricator

selenium-daily-beta-Minerva fails with `Can't call click on element with selector "#footer-places-mobileview" because element wasn't found`
Closed, ResolvedPublic

Description

Since 681756 was merged (on 2021-04-30), selenium-daily-beta-Minerva Jenkins job started failing (on 2021-04-30) with

Can't call click on element with selector "#footer-places-mobileview" because element wasn't found

Event Timeline

The browser test here is running on the mobile site domain.
Either the tests need to be adapted to begin on the desktop site, or the test needs to be rewritten with that in mind.

The lines

BlankPage.open();
		BlankPage.mobileView.click();

are likely redundant.

I think the jenkins jobs and integration.wikimedia.org tests run on different starting domains e.g. with the ".m" - which isn't great.

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

[mediawiki/skins/MinervaNeue@master] Revert "selenium: Page should be creatable"

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

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

[mediawiki/skins/MinervaNeue@master] selenium: Fix failing 'Page should be creatable' test

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

Change 685463 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] selenium: Fix 'Page should be creatable' test

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

Change 684843 abandoned by Jdlrobson:

[mediawiki/skins/MinervaNeue@master] Revert "selenium: Page should be creatable"

Reason:

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