Behat test needed for "User search" box

Bug #1745890 reported by Rebecca Blundell
6
This bug affects 1 person
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
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/8514

Changed in mahara:
status: New → In Progress
importance: Undecided → Medium
milestone: none → 18.04.0
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/8514
Committed: https://git.mahara.org/mahara/mahara/commit/d1625f7977131db78795fb0e6d8091254905546e
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit d1625f7977131db78795fb0e6d8091254905546e
Author: Niranjan Bandi <email address hidden>
Date: Thu Feb 8 17:01:58 2018 +1300

Bug 1745890- Behat test for "User search" box

-Display name settings and user search tests are added
-Added a scroll step to fix failing test
Change-Id: I4254e8de50aec5cda1b026ab7c58b2771ecd9139

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.