MDL-57216 navigation: Updated parent behat test.

This commit is contained in:
Adrian Greeve 2016-12-08 10:49:11 +08:00
parent 4d91497153
commit bfb43c64d8

View File

@ -66,12 +66,6 @@ Feature: The student can navigate to their grades page and user grade report.
And I am on site homepage
And I turn editing mode on
And I add the "Mentees" block
# TODO MDL-57216 this functionality should work without navigation block.
And I add the "Navigation" block if not present
And I configure the "Navigation" block
And I set the following fields to these values:
| Page contexts | Display throughout the entire site |
And I press "Save changes"
And I navigate to "Define roles" node in "Site administration > Users > Permissions"
And I click on "Add a new role" "button"
And I click on "Continue" "button"
@ -95,7 +89,7 @@ Feature: The student can navigate to their grades page and user grade report.
And I log in as "parent1"
And I am on site homepage
And I follow "Student 1"
And I click on "Grades" "link" in the "Navigation" "block"
And I follow "Grades overview"
Then the following should exist in the "overview-grade" table:
| Course name | Grade |
| Course 2 | - |