MDL-59759 enrol: Update behat tests for unenrol confirm dialogue

This commit is contained in:
Andrew Nicols 2017-09-06 13:42:26 +08:00 committed by David Monllao
parent 911fcae895
commit 030ede54f8
2 changed files with 2 additions and 2 deletions

View File

@ -114,5 +114,5 @@ Feature: Enrolments are synchronised with meta courses
And I navigate to course participants
# Suspended users can be unenrolled.
When I click on "//a[@data-action='unenrol']" "xpath_element" in the "student2" "table_row"
And I click on "Yes" "button"
And I click on "Unenrol" "button" in the "[data-region='modal']" "css_element"
Then I should not see "Student 2" in the "participants" "table"

View File

@ -123,5 +123,5 @@ Feature: Users can auto-enrol themself in courses where self enrolment is allowe
And I am on "Course 1" course homepage
And I navigate to course participants
When I click on "//a[@data-action='unenrol']" "xpath_element" in the "student1" "table_row"
And I click on "Yes" "button"
And I click on "Unenrol" "button" in the "[data-region='modal']" "css_element"
Then I should not see "Student 1" in the "participants" "table"