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: Atto Autosave
And I set the field "Autosave frequency" to "3"
And I set the field with xpath "//select[@name='s_editor_atto_autosavefrequency[u]']" to "seconds"
And I click on "Save changes" "button"
And I am on site homepage
And I am on course page "Course 1"
And I navigate to "Edit settings" node in "Course administration"
And I set the field with xpath "//select[@name='summary_editor[format]']" to "1"
@ -55,7 +54,6 @@ Feature: Atto Autosave
And I follow "Manage private files..."
And I upload "lib/editor/atto/tests/fixtures/moodle-logo.png" file to "Files" filemanager
And I click on "Save changes" "button"
And I am on homepage
And I am on course page "Course 1"
And I navigate to "Edit settings" node in "Course administration"
And I set the field "Course summary" to "<p>Image test</p>"

View file

@ -13,7 +13,6 @@ Feature: Atto editor with customised toolbar
| activity | name | intro | course | idnumber |
| label | L1 | <a href="../lib/editor/atto/tests/fixtures/custom_toolbar_example.php">FixtureLink</a> | C1 | label1 |
When I log in as "admin"
And I am on site homepage
And I am on course page "Course 1"
And I follow "FixtureLink"

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"