Page MenuHomePhabricator

Create browser test for a preference tab
Closed, ResolvedPublic

Description

We already have tests for a few tabs at preferences page[1-3]. Create test for another tab, for example recent changes[4].

The test should navigate to the page, check that the URL is correct and that at least one expected element appears.

1: http://en.wikipedia.beta.wmflabs.org/wiki/Special:Preferences
2: https://github.com/wikimedia/mediawiki-core/blob/master/tests/browser/features/preferences.feature
3: https://gerrit.wikimedia.org/r/#/c/117088/
4: http://en.wikipedia.beta.wmflabs.org/wiki/Special:Preferences#mw-prefsection-rc


Version: wmf-deployment
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=58900

Details

Reference
bz67260

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:33 AM
bzimport set Reference to bz67260.

(In reply to Željko Filipin from comment #1)

Related to bug 58900.

Now it is.

(In reply to jeremyb from comment #2)

(In reply to Željko Filipin from comment #1)

Related to bug 58900.

Now it is.

Thanks, I knew there was a way to do it, but I could not find it, it was pretty late.

As of July 2014, tests exist for Appearance, Editing, and User Profile.

Tests to be created are Recent Changes, Watchlist, Search.

Any other Preferences tabs are specific to their own wiki and do not belong in mediawiki/core.

See https://github.com/wikimedia/mediawiki-core/blob/master/tests/browser/features/preferences.feature for the current state of Preferences tests.

zeljkofilipin subscribed.

According to @Cmcmahon's comment, looks like this is resolved. Please reopen if needed.