Last modified: 2014-06-30 20:48:03 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69158, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67158 - Flow: handle varying permissions in browser tests
Flow: handle varying permissions in browser tests
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
master
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-26 18:56 UTC by spage
Modified: 2014-06-30 20:48 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description spage 2014-06-26 18:56:52 UTC

    
Comment 1 spage 2014-06-26 19:11:15 UTC
Flow browser tests, including flow_logged_in.feature, assume $MEDIAWIKI_USER can
block users and delete and suppress topics and posts. This means pointing tests at an arbitrary MEDIAWIKI_URL will fail until an admin grants scary permissions to that user.

We could change tests to

  Pending the current user can block user  ( suppress topics|delete topics)

and then as I understand it they'll report as skipped rather than failed.

A test API call that gets the current user's rights would be extremely useful, that could be a dependent bug.
Comment 2 Danny Horn 2014-06-30 19:01:20 UTC
Added to backlog: https://trello.com/c/8IudmN4X

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links