[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 @core @core_completion 2 Feature: Allow students to manually mark an activity as complete 3 In order to let students decide when an activity is completed 4 As a teacher 5 I need to allow students to mark activities as completed 6 7 @javascript 8 Scenario: Mark an activity as completed 9 Given the following "courses" exist: 10 | fullname | shortname | category | 11 | Course 1 | C1 | 0 | 12 And the following "users" exist: 13 | username | firstname | lastname | email | 14 | teacher1 | Teacher | Frist | teacher1@example.com | 15 | student1 | Student | First | student1@example.com | 16 And the following "course enrolments" exist: 17 | user | course | role | 18 | teacher1 | C1 | editingteacher | 19 | student1 | C1 | student | 20 And I log in as "teacher1" 21 And I am on site homepage 22 And I follow "Course 1" 23 And I turn editing mode on 24 And I click on "Edit settings" "link" in the "Administration" "block" 25 And I set the following fields to these values: 26 | Enable completion tracking | Yes | 27 And I press "Save and display" 28 When I add a "Forum" to section "1" and I fill the form with: 29 | Forum name | Test forum name | 30 | Description | Test forum description | 31 Then "Student First" user has not completed "Test forum name" activity 32 And I log out 33 And I log in as "student1" 34 And I am on site homepage 35 And I follow "Course 1" 36 And I press "Mark as complete: Test forum name" 37 And I log out 38 And I log in as "teacher1" 39 And I am on site homepage 40 And I follow "Course 1" 41 And I expand "Reports" node 42 And I follow "Activity completion" 43 And "Student First" user has completed "Test forum name" activity
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |