Behat test needed for "User search" box
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Unassigned |
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...)
description: | updated |
description: | updated |
Changed in mahara: | |
status: | New → In Progress |
importance: | Undecided → Medium |
milestone: | none → 18.04.0 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/8514