[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 @block @block_comments 2 Feature: Enable Block comments on a course page and view comments 3 In order to enable the comments block on a course page 4 As a teacher 5 I can add the comments block to the course page 6 7 Scenario: Add the comments block on the course 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 I log in as "teacher1" 20 And I follow "Course 1" 21 And I turn editing mode on 22 And I add the "Comments" block 23 And I follow "Show comments" 24 And I add "I'm a comment from the teacher" comment to comments block 25 And I log out 26 When I log in as "student1" 27 And I follow "Course 1" 28 And I follow "Show comments" 29 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 |