diff --git a/badges/tests/behat/backpack.feature b/badges/tests/behat/backpack.feature index 3cb8e78bc8a..67376f0f345 100644 --- a/badges/tests/behat/backpack.feature +++ b/badges/tests/behat/backpack.feature @@ -11,6 +11,11 @@ Feature: Backpack badges And the following "users" exist: | username | firstname | lastname | email | | student1 | Student | 1 | student1@example.com | + And I log in as "admin" + And I navigate to "Badges > Badges settings" in site administration + And I set the field "Badge issuer name" to "Test Badge Site" + And I set the field "Badge issuer email address" to "testuser@example.com" + And I log out @javascript Scenario: Verify backback settings @@ -29,8 +34,6 @@ Feature: Backpack badges | Description | Test badge description | | Image author | http://author.example.com | | Image caption | Test caption image | - | issuername | Test Badge Site | - | issuercontact | testuser@example.com | And I upload "badges/tests/behat/badge.png" file to "Image" filemanager And I press "Create badge" And I set the field "type" to "Manual issue by role" @@ -67,8 +70,6 @@ Feature: Backpack badges | Description | Test badge description | | Image author | http://author.example.com | | Image caption | Test caption image | - | issuername | Test Badge Site | - | issuercontact | testuser@example.com | And I upload "badges/tests/behat/badge.png" file to "Image" filemanager And I press "Create badge" And I set the field "type" to "Manual issue by role"