mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
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:
parent
3353cfd8c1
commit
fdeeaff954
458 changed files with 1697 additions and 2148 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue