MDL-63303 behat: Behat fixes

This commit is contained in:
Andrew Nicols 2018-11-15 16:23:49 +08:00
parent f42e85cc86
commit 705003beae
16 changed files with 28 additions and 28 deletions

View file

@ -95,7 +95,7 @@ Feature: Basic recycle bin functionality
And I navigate to "Recycle bin" in current page administration
When I click on "Delete" "link"
Then I should see "Are you sure you want to delete the selected item from the recycle bin?"
And I press "Cancel"
And I click on "Cancel" "button" in the "Confirmation" "dialogue"
And I should see "Test assign"
And I click on "Delete" "link"
And I press "Yes"
@ -120,7 +120,7 @@ Feature: Basic recycle bin functionality
And I should see "Test assign 2"
When I click on "Delete all" "link"
Then I should see "Are you sure you want to delete all items from the recycle bin?"
And I press "Cancel"
And I click on "Cancel" "button" in the "Add restriction..." "dialogue"
And I should see "Test assign 1"
And I should see "Test assign 2"
And I click on "Delete all" "link"