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

@ -19,7 +19,6 @@ Feature: View an outline report
| student1 | C1 | student |
| student2 | C1 | student |
When 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
And I add a "Forum" to section "1" and I fill the form with:
@ -68,7 +67,6 @@ Feature: View an outline report
And I follow "Book name"
And I log out
And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1"
When I navigate to "Activity report" node in "Course administration > Reports"
Then I should see "2 by 2 users" in the "Book name" "table_row"
@ -101,7 +99,6 @@ Feature: View an outline report
Given I navigate to "Manage log stores" node in "Site administration > Plugins > Logging"
And "Enable" "link" should exist in the "Legacy log" "table_row"
And I click on "Disable" "link" in the "Standard log" "table_row"
And I am on site homepage
And I am on course page "Course 1"
When I navigate to "Activity report" node in "Course administration > Reports"
Then I should see "No log reader enabled"

View file

@ -17,7 +17,6 @@ Feature: View the user page for the outline report
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
When 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
And I add a "Folder" to section "1" and I fill the form with: