@@ -306,12 +306,12 @@ Feature: Admin Actions to Manage Invitations
306
306
And "dax" has "2" invitations
307
307
And I am logged in as an admin
308
308
When I follow "Invite New Users"
309
- And I fill in "Enter a user name " with "dax"
310
- And I press "Go "
309
+ And I fill in "Username " with "dax"
310
+ And I press "Search" within "form.invitation.simple.search "
311
311
Then I should see "copy and use"
312
312
When I follow "Invite New Users"
313
- And I fill in "Enter an invite token" with "dax's" invite code
314
- And I press "Go "
313
+ And I fill in "Invite token" with "dax's" invite code
314
+ And I press "Search" within "form.invitation.simple.search "
315
315
Then I should see "copy and use"
316
316
317
317
Scenario : An admin can find all invitations via email partial match
@@ -324,16 +324,16 @@ Feature: Admin Actions to Manage Invitations
324
324
When I fill in "Number of people to invite" with "2"
325
325
And I press "Invite from queue"
326
326
Then I should see "2 people from the invite queue are being invited"
327
- When I fill in "Enter all or part of an email address" with "@"
328
- And I press "Go "
327
+ When I fill in "All or part of an email address" with "@"
328
+ And I press "Search" within "form.invitation.simple.search "
329
329
Then I should see
"[email protected] "
330
330
And I should see
"[email protected] "
331
331
332
332
Scenario : An admin can't find a invitation for a nonexistent user
333
333
Given I am logged in as an admin
334
334
And I follow "Invite New Users"
335
- When I fill in "Enter a user name " with "dax"
336
- And I press "Go "
335
+ When I fill in "Username " with "dax"
336
+ And I press "Search" within "form.invitation.simple.search "
337
337
Then I should see "No results were found. Try another search"
338
338
When I fill in "Enter a user name" with ""
339
339
And I fill in
"Enter all or part of an email address" with
"[email protected] "
@@ -360,7 +360,7 @@ Feature: Admin Actions to Manage Invitations
360
360
When I fill in "Number of people to invite" with "1"
361
361
And press "Invite from queue"
362
362
Then I should see "1 person from the invite queue is being invited"
363
- When I press "Go "
363
+ When I press "Search" within "form.invitation.simple.search "
364
364
And I fill in
"Enter all or part of an email address" with
"[email protected] "
365
365
And I press "Go"
366
366
Then I should see "Sender testadmin-support"
@@ -370,12 +370,12 @@ Feature: Admin Actions to Manage Invitations
370
370
And "dax" has "2" invitations
371
371
And I am logged in as a "support" admin
372
372
When I follow "Invite New Users"
373
- And I fill in "Enter a user name " with "dax"
374
- And I press "Go "
373
+ And I fill in "Username " with "dax"
374
+ And I press "Search" within "form.invitation.simple.search "
375
375
Then I should see "copy and use"
376
376
When I follow "Invite New Users"
377
- And I fill in "Enter an invite token" with "dax's" invite code
378
- And I press "Go "
377
+ And I fill in "Invite token" with "dax's" invite code
378
+ And I press "Search" within "form.invitation.simple.search "
379
379
Then I should see "copy and use"
380
380
When I fill in
"Enter an email address" with
"[email protected] "
381
381
And I press "Update Invitation"
0 commit comments