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-04-03 11:37:07 +08:00
committed by Damyon Wiese
parent 3353cfd8c1
commit fdeeaff954
458 changed files with 1697 additions and 2148 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ Feature: Add notes to course participants
And I press "Save changes"
And I log out
And I log in as "teacher1"
And I am on course page "Course 1"
And I am on "Course 1" course homepage
And I follow "Participants"
And I set the field with xpath "//tr[contains(normalize-space(.), 'Student 1')]//input[@type='checkbox']" to "1"
And I set the field with xpath "//tr[contains(normalize-space(.), 'Student 2')]//input[@type='checkbox']" to "1"
@@ -51,7 +51,7 @@ Feature: Add notes to course participants
And I follow "Participants"
And I follow "Student 2"
And I follow "Notes"
And I am on course page "Course 1"
And I am on "Course 1" course homepage
And I follow "Participants"
And I follow "Notes"
Then I should see "Student 1"