mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 10:56:56 +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 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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue