MDL-58265 core_test: remove unnecessary steps

This commmit removes steps that take behat to site home page
to actually get to a course page.

Part of MDL-55611 epic.
This commit is contained in:
Simey Lameze 2017-03-14 14:01:03 +08:00 committed by Damyon Wiese
parent c987d1b2ef
commit 93be3f730c
60 changed files with 7 additions and 162 deletions

View file

@ -17,7 +17,6 @@ Feature: Add blocks
| student1 | C1 | student |
| student2 | C1 | student |
And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1"
And I turn editing mode on
When I add the "Blog menu" block

View file

@ -9,7 +9,6 @@ Feature: Block visibility
| fullname | shortname | category |
| Course 1 | C1 | 0 |
And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1"
And I turn editing mode on

View file

@ -28,7 +28,6 @@ Feature: Allowed blocks controls
Given I log in as "admin"
And I set the following system permissions of "Teacher" role:
| block/activity_modules:addinstance | Prohibit |
And I am on site homepage
And I am on course page "Course 1"
And I navigate to "Users > Permissions" in current page administration
And I override the system permissions of "Teacher" role with:

View file

@ -9,7 +9,6 @@ Feature: The context of a block can always be returned to it's original state.
| fullname | shortname | category |
| Course 1 | C1 | 0 |
And I log in as "admin"
And I am on site homepage
When I am on course page "Course 1"
And I follow "Turn editing on"
And I add the "Tags" block