mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #46636
[Bug 1745890] Re: Behat test needed for "User search" box
** Changed in: mahara
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1745890
Title:
Behat test needed for "User search" box
Status in Mahara:
Fix Committed
Bug description:
Regression tests 3.2
We currently don't have an automated test for the front page search box, which would be easy to do.
We need to test the settings and that they work correctly when searching - i.e. Test settings for "Never display usernames" and "Users can hide real names"
Steps:
Have at least 2 regular users
Log in as UserA and enter UserB's first name in the search box.
Check that you can choose "Everyone" or "My institutions" from the dropdown box and that your choice is displayed after "Search:"
Follow the user and you should see <User name's> portfolios
# testing the display name setting
UserA adds a Display name under profile and logs out.
UserB logs in and tests...
Obviously this is incomplete. What we need is a test to test the admin settings correctly as well as the search.
Settings should be set programatically if poss.
(Could expand the test to see what pages are shared with current
user...)
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1745890/+subscriptions
References