From 1453d146b3134c9102909db2db67e4623030a98f Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Fri, 4 Aug 2017 09:50:27 +0800 Subject: [PATCH] MDL-59366 enrol: Nuke manage_enrolments_from_participants.feature This will be removed soon. Better remove it now since it started to cause failures after the new course participants page improvements have landed. --- ...anage_enrolments_from_participants.feature | 35 ------------------- 1 file changed, 35 deletions(-) delete mode 100644 enrol/tests/behat/manage_enrolments_from_participants.feature diff --git a/enrol/tests/behat/manage_enrolments_from_participants.feature b/enrol/tests/behat/manage_enrolments_from_participants.feature deleted file mode 100644 index 3c0cb0fccec..00000000000 --- a/enrol/tests/behat/manage_enrolments_from_participants.feature +++ /dev/null @@ -1,35 +0,0 @@ -@core_enrol -Feature: Manage enrollments from participants page - In order to manage course participants - As a teacher - In need to get to the enrolment page from the course participants page - - Background: - Given the following "users" exist: - | username | firstname | lastname | email | - | student1 | Student | 1 | student1@example.com | - | student2 | Student | 2 | student2@example.com | - | teacher1 | teacher | 1 | teacher1@example.com | - And the following "courses" exist: - | fullname | shortname | format | - | Course 1 | C1 | topics | - And the following "course enrolments" exist: - | user | course | role | - | student1 | C1 | student | - | student2 | C1 | student | - | teacher1 | C1 | editingteacher | - And I log in as "teacher1" - And I am on "Course 1" course homepage - And I navigate to course participants - - Scenario: Check the participants link when "All partipants" selected - Given I select "All participants" from the "roleid" singleselect - And I navigate to "Enrolled users" node in "Course administration > Users" - Then I should see "Enrolled users" in the "h2" "css_element" - And the field "Role" matches value "All" - - Scenario: Check the participants link when "Student" selected - Given I select "Student" from the "roleid" singleselect - And I navigate to "Enrolled users" node in "Course administration > Users" - Then I should see "Enrolled users" in the "h2" "css_element" - And the field "Role" matches value "All" -- 2.43.0