[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 @mod @mod_forum 2 Feature: A teacher can control the subscription to a forum 3 In order to change individual user's subscriptions 4 As a course administrator 5 I can change subscription setting for my users 6 7 Background: 8 Given the following "users" exist: 9 | username | firstname | lastname | email | 10 | teacher | Teacher | Tom | teacher@example.com | 11 | student1 | Student | 1 | student.1@example.com | 12 | student2 | Student | 2 | student.2@example.com | 13 And the following "courses" exist: 14 | fullname | shortname | category | 15 | Course 1 | C1 | 0 | 16 And the following "course enrolments" exist: 17 | user | course | role | 18 | teacher | C1 | editingteacher | 19 | student1 | C1 | student | 20 | student2 | C1 | student | 21 And I log in as "teacher" 22 And I follow "Course 1" 23 And I turn editing mode on 24 And I add a "Forum" to section "1" and I fill the form with: 25 | Forum name | Test forum name | 26 | Forum type | Standard forum for general use | 27 | Description | Test forum description | 28 | Subscription mode | Auto subscription | 29 30 Scenario: A teacher can change toggle subscription editing on and off 31 Given I follow "Test forum name" 32 And I follow "Show/edit current subscribers" 33 Then ".userselector" "css_element" should not exist 34 And "Turn editing on" "button" should exist 35 And I press "Turn editing on" 36 And ".userselector" "css_element" should exist 37 And "Turn editing off" "button" should exist 38 And I press "Turn editing off" 39 And ".userselector" "css_element" should not exist 40 And "Turn editing on" "button" should exist 41 And I press "Turn editing on" 42 And ".userselector" "css_element" should exist 43 And "Turn editing off" "button" should exist 44 And I press "Turn editing off" 45 And ".userselector" "css_element" should not exist 46 And "Turn editing on" "button" should exist
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 |