mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
Merge branch 'MDL-83643-405' of https://github.com/lameze/moodle into MOODLE_405_STABLE
This commit is contained in:
commit
9aa4e03b03
@ -70,7 +70,7 @@ Feature: View activity completion in the assignment activity
|
||||
And the manual completion button for "Music history" should exist
|
||||
|
||||
@javascript
|
||||
Scenario: Use manual completion from the activity page
|
||||
Scenario: A student can manually mark the assign activity as done but a teacher cannot
|
||||
Given I am on the "Music history" "assign activity" page logged in as teacher1
|
||||
# Teacher view.
|
||||
And the manual completion button for "Music history" should be disabled
|
||||
|
@ -65,7 +65,7 @@ Feature: View activity completion information in the book activity
|
||||
Then the "View" completion condition of "Art history" is displayed as "done"
|
||||
|
||||
@javascript
|
||||
Scenario: Use manual completion
|
||||
Scenario: A student can manually mark the book activity as done but a teacher cannot
|
||||
Given I am on the "Music history" "book activity editing" page logged in as teacher1
|
||||
And I expand all fieldsets
|
||||
And I set the field "Students must manually mark the activity as done" to "1"
|
||||
|
@ -37,7 +37,7 @@ Feature: View activity completion information in the chat activity
|
||||
Then the "View" completion condition of "Music history" is displayed as "done"
|
||||
|
||||
@javascript
|
||||
Scenario: Use manual completion
|
||||
Scenario: A student can manually mark the chat activity as done but a teacher cannot
|
||||
Given I log in as "teacher1"
|
||||
And the following "activity" exists:
|
||||
| activity | chat |
|
||||
|
@ -97,7 +97,7 @@ Feature: View activity completion in the database activity
|
||||
And "Vinnie Student1" user has completed "Music history" activity
|
||||
|
||||
@javascript
|
||||
Scenario: Use manual completion
|
||||
Scenario: A student can manually mark the data activity as done but a teacher cannot
|
||||
Given I am on the "Music history" "data activity editing" page logged in as teacher1
|
||||
And I expand all fieldsets
|
||||
And I set the field "Students must manually mark the activity as done" to "1"
|
||||
|
@ -52,7 +52,7 @@ Feature: View activity completion in the feedback activity
|
||||
And the "Submit feedback" completion condition of "Music history" is displayed as "done"
|
||||
|
||||
@javascript
|
||||
Scenario: Use manual completion
|
||||
Scenario: A student can manually mark the feedback activity as done but a teacher cannot
|
||||
Given I am on the "Music history" "feedback activity editing" page logged in as teacher1
|
||||
And I expand all fieldsets
|
||||
And I set the field "Students must manually mark the activity as done" to "1"
|
||||
|
@ -37,7 +37,7 @@ Feature: View activity completion information in the folder activity
|
||||
Then the "View" completion condition of "Music history" is displayed as "done"
|
||||
|
||||
@javascript
|
||||
Scenario: Use manual completion
|
||||
Scenario: A student can manually mark the folder activity as done but a teacher cannot
|
||||
Given the following "activity" exists:
|
||||
| activity | folder |
|
||||
| course | C1 |
|
||||
|
@ -88,7 +88,7 @@ Feature: View activity completion in the forum activity
|
||||
And the "Receive a grade" completion condition of "Music history" is displayed as "done"
|
||||
|
||||
@javascript
|
||||
Scenario: Use manual completion
|
||||
Scenario: A student can manually mark the forum activity as done but a teacher cannot
|
||||
Given I am on the "Music history" "forum activity editing" page logged in as teacher1
|
||||
And I expand all fieldsets
|
||||
And I set the field "Students must manually mark the activity as done" to "1"
|
||||
|
@ -67,7 +67,7 @@ Feature: View activity completion in the glossary activity
|
||||
And the "Receive a grade" completion condition of "Music history" is displayed as "done"
|
||||
|
||||
@javascript
|
||||
Scenario: Use manual completion
|
||||
Scenario: A student can manually mark the glossary activity as done but a teacher cannot
|
||||
Given I am on the "Music history" "glossary activity editing" page logged in as teacher1
|
||||
And I expand all fieldsets
|
||||
And I set the field "Students must manually mark the activity as done" to "1"
|
||||
|
@ -25,7 +25,7 @@ Feature: View activity completion information in the h5p activity
|
||||
| completionusegrade | 1 |
|
||||
| packagefilepath | h5p/tests/fixtures/filltheblanks.h5p |
|
||||
|
||||
Scenario: Use manual completion
|
||||
Scenario: A student can manually mark the h5p activity as done but a teacher cannot
|
||||
Given I am on the "Music history" "h5pactivity activity editing" page logged in as teacher1
|
||||
And I expand all fieldsets
|
||||
And I set the field "Students must manually mark the activity as done" to "1"
|
||||
|
@ -26,7 +26,7 @@ Feature: View activity completion information in the IMS content package activit
|
||||
Then the "View" completion condition of "Music history" is displayed as "done"
|
||||
|
||||
@javascript
|
||||
Scenario: Use manual completion
|
||||
Scenario: A student can manually mark the IMSCP activity as done but a teacher cannot
|
||||
Given the following "activities" exist:
|
||||
| activity | course | name | completion | packagefilepath |
|
||||
| imscp | C1 | Music history | 1 | mod/imscp/tests/packages/singescobasic.zip |
|
||||
|
@ -66,7 +66,7 @@ Feature: View activity completion in the lesson activity
|
||||
And the "Receive a grade" completion condition of "Music history" is displayed as "done"
|
||||
|
||||
@javascript
|
||||
Scenario: Use manual completion
|
||||
Scenario: A student can manually mark the lesson activity as done but a teacher cannot
|
||||
Given I am on the "Music history" "lesson activity editing" page logged in as teacher1
|
||||
And I expand all fieldsets
|
||||
And I set the field "Students must manually mark the activity as done" to "1"
|
||||
|
@ -39,7 +39,7 @@ Feature: View activity completion information in the LTI activity
|
||||
And the "View" completion condition of "Music history" is displayed as "done"
|
||||
|
||||
@javascript
|
||||
Scenario: Use manual completion
|
||||
Scenario: A student can manually mark the LTI activity as done but a teacher cannot
|
||||
Given I am on the "Music history" "lti activity editing" page logged in as teacher1
|
||||
And I expand all fieldsets
|
||||
And I set the field "Students must manually mark the activity as done" to "1"
|
||||
|
@ -43,7 +43,7 @@ Feature: View activity completion information in the Page resource
|
||||
Then the "View" completion condition of "Music history" is displayed as "done"
|
||||
|
||||
@javascript
|
||||
Scenario: Use manual completion as teacher
|
||||
Scenario: A teacher cannot manually mark the page activity as done
|
||||
Given the following "activity" exists:
|
||||
| activity | page |
|
||||
| course | C1 |
|
||||
@ -56,7 +56,7 @@ Feature: View activity completion information in the Page resource
|
||||
Then the manual completion button for "Music history" should be disabled
|
||||
|
||||
@javascript
|
||||
Scenario: Use manual completion as student
|
||||
Scenario: A student can manually mark the page activity as done
|
||||
Given the following "activity" exists:
|
||||
| activity | page |
|
||||
| course | C1 |
|
||||
|
@ -30,7 +30,7 @@ Feature: Manually complete a quiz
|
||||
| First question | 1 |
|
||||
|
||||
@javascript
|
||||
Scenario: Use manual completion
|
||||
Scenario: A student can manually mark the quiz activity as done but a teacher cannot
|
||||
Given I am on the "Test quiz name" "quiz activity" page logged in as teacher1
|
||||
And the manual completion button for "Test quiz name" should be disabled
|
||||
And I log out
|
||||
|
@ -117,7 +117,7 @@ Feature: View activity completion in the SCORM activity
|
||||
And the "Complete or pass the activity" completion condition of "Music history" is displayed as "done"
|
||||
|
||||
@javascript
|
||||
Scenario: Use manual completion
|
||||
Scenario: A student can manually mark the scorm activity as done but a teacher cannot
|
||||
Given I am on the "Music history" "scorm activity" page logged in as teacher1
|
||||
And I navigate to "Settings" in current page administration
|
||||
And I expand all fieldsets
|
||||
|
@ -51,7 +51,7 @@ Feature: A teacher can use activity completion to track a student progress
|
||||
And I follow "Test survey name"
|
||||
And the "Submit answers" completion condition of "Test survey name" is displayed as "done"
|
||||
|
||||
Scenario: Use manual completion
|
||||
Scenario: A student can manually mark the survey activity as done but a teacher cannot
|
||||
Given the following "activities" exist:
|
||||
| activity | name | course | idnumber | completion |
|
||||
| survey | Test survey name | C1 | survey1 | 1 |
|
||||
|
@ -142,7 +142,7 @@ Feature: View activity completion information in the URL resource
|
||||
Then the "View" completion condition of "Music history" is displayed as "done"
|
||||
|
||||
@javascript
|
||||
Scenario: Use manual completion with automatic URL as teacher
|
||||
Scenario: A teacher cannot manually mark the url activity as done
|
||||
Given the following "activity" exists:
|
||||
| activity | url |
|
||||
| course | C1 |
|
||||
@ -157,7 +157,7 @@ Feature: View activity completion information in the URL resource
|
||||
Then the manual completion button for "Music history" should be disabled
|
||||
|
||||
@javascript
|
||||
Scenario: Use manual completion with automatic URL as student
|
||||
Scenario: A student can manually mark the url activity as done
|
||||
Given the following "activity" exists:
|
||||
| activity | url |
|
||||
| course | C1 |
|
||||
|
@ -45,7 +45,7 @@ Feature: View activity completion information in the Wiki activity
|
||||
Then the "View" completion condition of "Music history" is displayed as "done"
|
||||
|
||||
@javascript
|
||||
Scenario: Use manual completion
|
||||
Scenario: A student can manually mark the wiki activity as done but a teacher cannot
|
||||
Given I am on the "Music history" "wiki activity" page logged in as teacher1
|
||||
And I am on the "Music history" "wiki activity editing" page
|
||||
And I expand all fieldsets
|
||||
|
@ -66,7 +66,7 @@ Feature: View activity completion information in the Workshop activity
|
||||
And the "Receive a grade" completion condition of "Music history" is displayed as "done"
|
||||
|
||||
@javascript
|
||||
Scenario: Use manual completion
|
||||
Scenario: A student can manually mark the workshop activity as done but a teacher cannot
|
||||
Given I am on the "Music history" "workshop activity" page
|
||||
And I am on the "Music history" "workshop activity editing" page
|
||||
And I expand all fieldsets
|
||||
|
Loading…
x
Reference in New Issue
Block a user