Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
AO3-5249 Add basic search of invitation queue #3164
Merged
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
01a34b6
AO3-5249 Test for searching emails in the queue
sarken 9d9d39a
AO3-5249 Add basic search of invitation queue
sarken d067ba5
AO3-5249 Remember search query when deleting without JavaScript
sarken 9bb8a68
AO3-5249 Put scenario back on one line
sarken 3b7343a
AO3-5249 The word you want for the test is SCENARIO, not Search, jfc
sarken 7aab437
AO3-5249 Update test to check query field
sarken 542575b
AO3-5249 Update test to reflect Delete is a button
sarken
Jump to file or symbol
Failed to load files and symbols.
| @@ -350,3 +350,24 @@ Feature: Admin Actions to Manage Invitations | ||
| When I fill in "invitation_invitee_email" with "[email protected]" | ||
| And I press "Update Invitation" | ||
| Then I should see "[email protected]" in the "invitation_invitee_email" input | ||
| + | ||
| + Scenario: An admin can search the invitation queue, and search parameters are | ||
| + kept even if deleting without JavaScript | ||
| + Given I am logged in as an admin | ||
| + And an invitation request for "[email protected]" | ||
| + And an invitation request for "[email protected]" | ||
| + And an invitation request for "[email protected]" | ||
| + And an invitation request for "[email protected]" | ||
| + And an invitation request for "[email protected]" | ||
| + When I am on the manage invite queue page | ||
| + And I fill in "query" with "stream" | ||
| + And I press "Search Queue" | ||
| + Then I should see "[email protected]" | ||
| + And I should see "[email protected]" | ||
| + And I should see "[email protected]" | ||
| + But I should not see "[email protected]" | ||
| + And I should not see "[email protected]" | ||
| + When I press "Delete" | ||
| + Then the "query" field should contain "stream" | ||
| + And I should not see "[email protected]" | ||
| + And I should not see "[email protected]" | ||
Place the . on the previous line, together with the method call receiver.