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

@ -124,9 +124,9 @@ Feature: Manage plearning plan
And "Confirm" "dialogue" should be visible
And "Delete" "button" should exist in the "Confirm" "dialogue"
And "Cancel" "button" should exist in the "Confirm" "dialogue"
And I click on "Cancel" "button"
And I click on "Cancel" "button" in the "Confirm" "dialogue"
And I click on "Delete" of edit menu in the "Science plan Year-4" row
And "Confirm" "dialogue" should be visible
When I click on "Delete" "button"
When I click on "Delete" "button" in the "Confirm" "dialogue"
And I wait until the page is ready
Then I should not see "Science plan Year-4"

View file

@ -52,9 +52,9 @@ Feature: Manage plearning plan templates
And "Confirm" "dialogue" should be visible
And "Delete" "button" should exist in the "Confirm" "dialogue"
And "Cancel" "button" should exist in the "Confirm" "dialogue"
And I click on "Cancel" "button"
And I click on "Cancel" "button" in the "Confirm" "dialogue"
And I click on "Delete" of edit menu in the "Science template Year-4" row
And "Confirm" "dialogue" should be visible
When I click on "Delete" "button"
When I click on "Delete" "button" in the "Confirm" "dialogue"
And I wait until the page is ready
Then I should not see "Science template Year-4"