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

@ -18,7 +18,6 @@ Feature: Add or remove items from the TinyMCE editor toolbar
Scenario: Remove icons
When the following config values are set as admin:
| customtoolbar | fontselect,fontsizeselect,formatselect,\|,undo,redo,\|,search,replace,\|,fullscreen | editor_tinymce |
And I am on site homepage
And I am on course page "Course 1"
And I turn editing mode on
And I add a "Database" to section "1"
@ -29,7 +28,6 @@ Feature: Add or remove items from the TinyMCE editor toolbar
Scenario: Add icons
When the following config values are set as admin:
| customtoolbar | fontselect,fontsizeselect,formatselect,\|,undo,redo,\|,search,replace,\|,fullscreen,anchor | editor_tinymce |
And I am on site homepage
And I am on course page "Course 1"
And I turn editing mode on
And I add a "Database" to section "1"
@ -37,14 +35,12 @@ Feature: Add or remove items from the TinyMCE editor toolbar
And "#id_introeditor_tbl .mce_anchor" "css_element" should exist
And the following config values are set as admin:
| customtoolbar | fontselect,fontsizeselect,formatselect,\|,undo,redo,\|,search,replace,\|,fullscreen | editor_tinymce |
And I am on site homepage
And I am on course page "Course 1"
And I add a "Database" to section "1"
And "#id_introeditor_tbl .mce_anchor" "css_element" should not exist
And I press "Cancel"
Scenario: Default icons
And I am on site homepage
Given I am on course page "Course 1"
And I turn editing mode on
When I add a "Database" to section "1"