Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Page MenuHomePhabricator

Error in "Homepage Shows a suggested edits card and allows navigation forwards and backwards through queue"
Closed, ResolvedPublic

Description

Similar to T291450: GrowthExperiments Selenium test error in specs/homepage.js > HomepagePage.suggestedEditsCard.isExisting, but not the same

Just happened on https://gerrit.wikimedia.org/r/c/mediawiki/core/+/725163/ https://integration.wikimedia.org/ci/job/wmf-quibble-selenium-php72-docker/116081/console

14:18:11 [0-0] Error in "Homepage Shows a suggested edits card and allows navigation forwards and backwards through queue"
14:18:23 Error: element (".suggested-edits-next .oo-ui-buttonElement-button") still not clickable after 5000ms
14:18:23     at Context.it (/workspace/src/extensions/GrowthExperiments/tests/selenium/specs/homepage.js:33:41)
14:18:23 [0-0] FAILED in chrome - /tests/selenium/specs/homepage.js
14:18:23 [0-1] RUNNING in chrome - /tests/selenium/specs/welcomesurvey.js

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Tgr triaged this task as High priority.Oct 2 2021, 3:18 AM
Tgr edited projects, added Growth-Team (Sprint 0 (Growth Team)); removed Growth-Team.
Tgr subscribed.

Marking as high and moving to current spring as it interferes with CI for other repos. Could be an infrastructure error but doesn't sound like it.

The relevant failure:

image.png (1×2 px, 1 MB)

Compare with a successful run:

image.png (1×2 px, 1 MB)

It looks like the code in beforeSuite in wdio.conf.js that we added in T291450: GrowthExperiments Selenium test error in specs/homepage.js > HomepagePage.suggestedEditsCard.isExisting to fix this issue is not working:

browser.executeAsync( ( done ) =>
    mw.loader.using( 'mediawiki.api' ).then( () =>
        new mw.Api().saveOptions( {
            'growthexperiments-homepage-suggestededits-activated': 1,
            'growthexperiments-tour-homepage-discovery': 1,
            'growthexperiments-tour-homepage-welcome': 1
        } ).done( () => done() )
    )
);

Change 726898 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@master] selenium: Default suggested edits to preactivated

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

Change 726898 abandoned by Kosta Harlan:

[mediawiki/extensions/GrowthExperiments@master] selenium: Default suggested edits to preactivated

Reason:

I think this is fixed in PS7 of I6eeb63d895bb75a55e6ae5bab70deec01351d98c, so abandoning this in the interests of not introducing more complexity

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

Change 702893 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@master] selenium: Use Special:CreateAccount for account creation

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

Urbanecm_WMF changed the task status from Open to In Progress.Jan 31 2022, 11:33 AM

Change 762445 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@master] selenium: Rework and re-enable homepage test

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

MShilova_WMF lowered the priority of this task from High to Medium.Apr 6 2022, 1:25 PM
kostajh lowered the priority of this task from Medium to Low.Jul 29 2022, 12:59 PM

Change 702893 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] selenium: Use Special:CreateAccount for account creation

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

Change 762445 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] selenium: Rework and re-enable suggested edit navigation test

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