[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 @block @block_comments 2 Feature: Enable Block comments on an activity page and view comments 3 In order to enable the comments block on an activity page 4 As a teacher 5 I can add the comments block to an activity page 6 7 Scenario: Add the comments block on an activity page and add comments 8 Given the following "courses" exist: 9 | fullname | shortname | category | 10 | Course 1 | C1 | 0 | 11 And the following "users" exist: 12 | username | firstname | lastname | email | 13 | teacher1 | Teacher | Frist | teacher1@example.com | 14 | student1 | Student | First | student1@example.com | 15 And the following "course enrolments" exist: 16 | user | course | role | 17 | teacher1 | C1 | editingteacher | 18 | student1 | C1 | student | 19 And the following "activities" exist: 20 | activity | course | idnumber | name | intro | 21 | page | C1 | page1 | Test page name | Test page description | 22 And I log in as "teacher1" 23 And I follow "Course 1" 24 And I turn editing mode on 25 And I follow "Test page name" 26 And I add the "Comments" block 27 And I follow "Show comments" 28 And I add "I'm a comment from the teacher" comment to comments block 29 And I log out 30 When I log in as "student1" 31 And I follow "Course 1" 32 And I follow "Test page name" 33 And I follow "Show comments" 34 Then I should see "I'm a comment from the teacher"
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 |