mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +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,8 +15,7 @@ Feature: A teacher can use activity completion to track a student progress
|
|||
| user | course | role |
|
||||
| teacher1 | C1 | editingteacher |
|
||||
And I log in as "teacher1"
|
||||
And I am on course page "Course 1"
|
||||
And I turn editing mode on
|
||||
And I am on "Course 1" course homepage with editing mode on
|
||||
|
||||
Scenario: Require survey view
|
||||
Given I add a "Survey" to section "1" and I fill the form with:
|
||||
|
@ -28,7 +27,7 @@ Feature: A teacher can use activity completion to track a student progress
|
|||
And I turn editing mode off
|
||||
And the "Test survey name" "survey" activity with "auto" completion should be marked as not complete
|
||||
When I follow "Test survey name"
|
||||
And I am on course page "Course 1"
|
||||
And I am on "Course 1" course homepage
|
||||
Then the "Test survey name" "survey" activity with "auto" completion should be marked as complete
|
||||
|
||||
Scenario: Require survey submission
|
||||
|
@ -42,5 +41,5 @@ Feature: A teacher can use activity completion to track a student progress
|
|||
And the "Test survey name" "survey" activity with "auto" completion should be marked as not complete
|
||||
When I follow "Test survey name"
|
||||
And I press "Click here to continue"
|
||||
And I am on course page "Course 1"
|
||||
And I am on "Course 1" course homepage
|
||||
Then the "Test survey name" "survey" activity with "auto" completion should be marked as complete
|
||||
|
|
|
@ -15,8 +15,7 @@ Feature: A teacher can set three types of survey activity
|
|||
| user | course | role |
|
||||
| teacher1 | C1 | editingteacher |
|
||||
And I log in as "teacher1"
|
||||
And I am on course page "Course 1"
|
||||
And I turn editing mode on
|
||||
And I am on "Course 1" course homepage with editing mode on
|
||||
When I add a "Survey" to section "1" and I fill the form with:
|
||||
| Name | Test survey name |
|
||||
| Survey type | ATTLS (20 item version) |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue