[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 @mod @mod_glossary 2 Feature: A teacher can set whether glossary entries are always editable or not 3 In order to ensure students think before adding new entries 4 As a teacher 5 I need to prevent entries to be always editable 6 7 @javascript 8 Scenario: Glossary entries are not always editable 9 Given the following "users" exist: 10 | username | firstname | lastname | email | 11 | teacher1 | Teacher | 1 | teacher1@example.com | 12 | student1 | Student | 1 | student1@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 | teacher1 | C1 | editingteacher | 19 | student1 | C1 | student | 20 And the following config values are set as admin: 21 | maxeditingtime | 60 | 22 And I log in as "teacher1" 23 And I follow "Course 1" 24 And I turn editing mode on 25 And I add a "Glossary" to section "1" and I fill the form with: 26 | Name | Test glossary name | 27 | Description | Test glossary description | 28 | Always allow editing | No | 29 And I log out 30 And I log in as "student1" 31 And I follow "Course 1" 32 And I follow "Test glossary name" 33 When I add a glossary entry with the following data: 34 | Concept | Test concept name | 35 | Definition | Test concept description | 36 Then "Delete: Test concept name" "link" should exist 37 And "Edit: Test concept name" "link" should exist 38 And I wait "65" seconds 39 And I reload the page 40 Then "Delete: Test concept name" "link" should not exist 41 And "Edit: Test concept name" "link" should not 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 |