mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-59759 enrol: Update behat tests for unenrol confirm dialogue
This commit is contained in:
parent
911fcae895
commit
030ede54f8
2 changed files with 2 additions and 2 deletions
|
@ -114,5 +114,5 @@ Feature: Enrolments are synchronised with meta courses
|
||||||
And I navigate to course participants
|
And I navigate to course participants
|
||||||
# Suspended users can be unenrolled.
|
# Suspended users can be unenrolled.
|
||||||
When I click on "//a[@data-action='unenrol']" "xpath_element" in the "student2" "table_row"
|
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"
|
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 am on "Course 1" course homepage
|
||||||
And I navigate to course participants
|
And I navigate to course participants
|
||||||
When I click on "//a[@data-action='unenrol']" "xpath_element" in the "student1" "table_row"
|
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"
|
Then I should not see "Student 1" in the "participants" "table"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue