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 Matching 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 Matching question with 3 subquestions

View file

@ -20,7 +20,7 @@ Feature: Test duplicating a quiz containing a Matching question
And quiz "Test quiz" contains the following questions:
| matching-001 | 1 |
And I log in as "admin"
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 Matching question

View file

@ -21,7 +21,7 @@ Feature: Test editing a Matching question
| questioncategory | qtype | name | template |
| Test questions | match | Matching for editing | foursubq |
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"
@javascript @_switch_window

View file

@ -21,7 +21,7 @@ Feature: Test exporting Matching questions
| questioncategory | qtype | name | template |
| Test questions | match | matching-001 | foursubq |
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 Matching question
When I navigate to "Export" node in "Course administration > Question bank"

View file

@ -15,7 +15,7 @@ Feature: Test importing Matching 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 Matching question.

View file

@ -21,7 +21,7 @@ Feature: Preview a Matching question
| questioncategory | qtype | name | template |
| Test questions | match | matching-001 | foursubq |
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