[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 @core @core_badges @_file_upload 2 Feature: Add badges to the system 3 In order to give badges to users for their achievements 4 As an admin 5 I need to manage badges in the system 6 7 Background: 8 Given I am on homepage 9 And I log in as "admin" 10 11 @javascript 12 Scenario: Setting badges settings 13 Given I navigate to "Badges settings" node in "Site administration > Badges" 14 And I set the field "Default badge issuer name" to "Test Badge Site" 15 And I set the field "Default badge issuer contact details" to "testuser@example.com" 16 And I press "Save changes" 17 When I follow "Add a new badge" 18 Then the field "issuercontact" matches value "testuser@example.com" 19 And the field "issuername" matches value "Test Badge Site" 20 21 @javascript 22 Scenario: Accessing the badges 23 Given I navigate to "Site badges" node in "Site pages" 24 Then I should see "There are no badges available." 25 26 @javascript 27 Scenario: Add a badge 28 Given I navigate to "Add a new badge" node in "Site administration > Badges" 29 And I set the following fields to these values: 30 | Name | Test Badge | 31 | Description | Test badge description | 32 | issuername | Test Badge Site | 33 | issuercontact | testuser@example.com | 34 And I upload "badges/tests/behat/badge.png" file to "Image" filemanager 35 When I press "Create badge" 36 Then I should see "Edit details" 37 And I should see "Test Badge" 38 And I should not see "Create badge" 39 And I follow "Manage badges" 40 And I should see "Number of badges available: 1" 41 And I should not see "There are no badges available."
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 |