[QA] new shared method "protect" available for browser tests

Chris McMahon cmcmahon at wikimedia.org
Fri Jul 18 20:14:07 UTC 2014


Example:

on(APIPage).protect "Title of page to be protected", "Reason for protection"

sets the level of protection to

edit=sysop|move=sysop

We have needed this in particular for a MobileFrontend test that was
jumping through some huge hoops to protect a page.  It is now universally
available in mediawiki-selenium 2.26.

-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/qa/attachments/20140718/dd913aaa/attachment.html>


More information about the QA mailing list