Behat test needed for "User search" box

Bug #1745890 reported by Rebecca Blundell on 2018-01-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
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

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) on 2018-02-19
Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9) on 2018-04-05
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers