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

@ -13,8 +13,7 @@ Feature: In a report, admin can see loglive data
And I click on "Enable" "link" in the "Legacy log" "table_row"
And the following config values are set as admin:
| loglegacy | 1 | logstore_legacy |
And I am on course page "Course 1"
And I turn editing mode on
And I am on "Course 1" course homepage with editing mode on
And I add a "Database" to section "3" and I fill the form with:
| Name | Test name |
| Description | Test database description |
@ -38,9 +37,9 @@ Feature: In a report, admin can see loglive data
And I wait to be redirected
And I should not see "Test name2"
And I press "Pause live updates"
And I am on course page "Course module created"
And I follow "Course module created"
And I switch to "action" window
And I am on course page "Course 1"
And I am on "Course 1" course homepage
And I add a "Database" to section "3" and I fill the form with:
| Name | Test name2 |
| Description | Test database description |
@ -60,9 +59,9 @@ Feature: In a report, admin can see loglive data
And I wait to be redirected
And I should not see "Test name2"
And I press "Pause live updates"
And I am on course page "Course_add mod"
And I follow "course_add mod"
And I switch to "action" window
And I am on course page "Course 1"
And I am on "Course 1" course homepage
And I add a "Database" to section "3" and I fill the form with:
| Name | Test name2 |
| Description | Test database description |