MDL-58265 core_test: replace I turn editing on steps

Also remove few more unnecessary steps that redirects behat to
site home page to actually get to the course.

Part of MDL-55611 epic.
This commit is contained in:
Simey Lameze 2017-03-15 15:13:09 +08:00 committed by Damyon Wiese
parent 3353cfd8c1
commit fdeeaff954
458 changed files with 1697 additions and 2148 deletions

View file

@ -24,7 +24,7 @@ Feature: Users can be added to multiple groups at once
Scenario: Adding a user to one group
Given I log in as "teacher1"
And I am on course page "Course 1"
And I am on "Course 1" course homepage
And I navigate to "Enrolled users" node in "Course administration > Users"
And I click on "Add user into group" "link" in the "student1" "table_row"
When I set the field "Add user into group" to "Group 1"
@ -33,7 +33,7 @@ Feature: Users can be added to multiple groups at once
Scenario: Adding a user to multiple group
Given I log in as "teacher1"
And I am on course page "Course 1"
And I am on "Course 1" course homepage
And I navigate to "Enrolled users" node in "Course administration > Users"
And I click on "Add user into group" "link" in the "student1" "table_row"
When I set the field "Add user into group" to "Group 1, Group 2, Group 3"

View file

@ -13,7 +13,7 @@ Feature: User can be enrolled into a course
| Course 001 | C001 |
And I log in as "admin"
And I am on course index
And I am on course page "Course 001"
And I am on "Course 001" course homepage
Scenario: User can be enrolled without javascript
When I enrol "Studie One" user as "Student"

View file

@ -39,7 +39,7 @@ Feature: Enrolled users can be filtered by group
Scenario Outline:
Given I log in as "teacher1"
And I am on course page "Course 1"
And I am on "Course 1" course homepage
And I navigate to "Enrolled users" node in "Course administration > Users"
When I set the field "Group" to "<group>"

View file

@ -19,7 +19,7 @@ Feature: Manage enrollments from participants page
| student2 | C1 | student |
| teacher1 | C1 | editingteacher |
And I log in as "teacher1"
And I am on course page "Course 1"
And I am on "Course 1" course homepage
And I navigate to course participants
Scenario: Check the participants link when "All partipants" selected