Skip to content

Commit

Permalink
Use sorting in test instead of filtering temporarily to work around d…
Browse files Browse the repository at this point in the history
…iscard confirmation on search form bug
  • Loading branch information
bergice committed Nov 19, 2018
1 parent 63216dd commit 5f52b60
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions tests/behat/features/manage-users.feature
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,12 @@ Feature: Manage users

@modal
Scenario: I can navigate users from the edit form and retain my search query
When I press the "Open search and filter" button
And I press the "Advanced" button
And I fill in "Search__FirstName" with "Staff"
And I press the "Search" button
Then I should see "[email protected]" in the "#Root_Users" element
When I click the "Users" CMS tab
And I press the "First Name" button

Then I should see "[email protected]" in the "#Root_Users" element
And I should see "[email protected]" in the "#Root_Users" element
But I should not see "admin@example.org" in the "#Root_Users" element
And I should see "staffmember@example.org" in the "#Root_Users" element

When I click "[email protected]" in the "#Root_Users" element
And I press the "Form_ItemEditForm_action_doNext" button
Expand Down

0 comments on commit 5f52b60

Please sign in to comment.