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

@ -15,7 +15,7 @@ Feature: Test creating a Description question
| user | course | role |
| teacher1 | C1 | editingteacher |
And I log in as "teacher1"
And I am on course page "Course 1"
And I am on "Course 1" course homepage
And I navigate to "Question bank" node in "Course administration"
Scenario: Create a Description question with Correct answer as False

View file

@ -20,8 +20,7 @@ Feature: Test duplicating a quiz containing a Description question
And quiz "Test quiz" contains the following questions:
| description-001 | 1 |
And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1"
And I am on "Course 1" course homepage
@javascript
Scenario: Backup and restore a course containing a Description question

View file

@ -21,7 +21,7 @@ Feature: Test editing a Description question
| questioncategory | qtype | name | template |
| Test questions | description | description-001 | info |
And I log in as "teacher1"
And I am on course page "Course 1"
And I am on "Course 1" course homepage
And I navigate to "Question bank" node in "Course administration"
Scenario: Edit a Description question

View file

@ -21,7 +21,7 @@ Feature: Test exporting Description questions
| questioncategory | qtype | name | template |
| Test questions | description | description-001 | info |
And I log in as "teacher1"
And I am on course page "Course 1"
And I am on "Course 1" course homepage
Scenario: Export a Description question
When I navigate to "Export" node in "Course administration > Question bank"

View file

@ -15,7 +15,7 @@ Feature: Test importing Description questions
| user | course | role |
| teacher1 | C1 | editingteacher |
And I log in as "teacher1"
And I am on course page "Course 1"
And I am on "Course 1" course homepage
@javascript @_file_upload
Scenario: import a Description question.

View file

@ -21,7 +21,7 @@ Feature: Preview a Description question
| questioncategory | qtype | name | template |
| Test questions | description | description-001 | info |
Given I log in as "teacher1"
And I am on course page "Course 1"
And I am on "Course 1" course homepage
And I navigate to "Question bank" node in "Course administration"
@javascript @_switch_window