mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
MDL-59759 enrol: Update behat tests for unenrol confirm dialogue
This commit is contained in:
parent
911fcae895
commit
030ede54f8
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user