From cf01ca818ae6388a10e5c2539058287905935d04 Mon Sep 17 00:00:00 2001 From: Simon Welsh Date: Wed, 22 Jan 2014 15:20:48 +1300 Subject: [PATCH] Revert "MINOR: Added behat test to cover changes made in e69e65c." This reverts commit e0b4e6125c509aad3428c4e5eebbd8ad6b83d019. --- .../features/security-permissions.feature | 36 ------------------- 1 file changed, 36 deletions(-) delete mode 100644 tests/behat/features/security-permissions.feature diff --git a/tests/behat/features/security-permissions.feature b/tests/behat/features/security-permissions.feature deleted file mode 100644 index dd0fa4013..000000000 --- a/tests/behat/features/security-permissions.feature +++ /dev/null @@ -1,36 +0,0 @@ -@javascript -Feature: Manage Security Permissions for Groups - As a site administrator - I want to control my user's security permissions in an intuitive way - So that I can easily control access to the CMS - - Background: - Given a "member" "ADMIN" belonging to "ADMIN Group" with "Email"="admin@test.com" - And the "group" "ADMIN group" has permissions "Full administrative rights" - And I am logged in with "ADMIN" permissions - And I go to "/admin/security" - - Scenario: I can change permissions easily - When I click the "Groups" CMS tab - And I press the "Add Group" button - And I click the "Permissions" CMS tab - And I check "Access to 'Pages' section" - And I check "Access to all CMS sections" - Then the "Access to 'Reports' section" checkbox should be checked - And I uncheck "Access to all CMS sections" - Then the "Access to 'Reports' section" checkbox should not be checked - And the "Access to 'Pages' section" checkbox should be checked - And I uncheck "Access to 'Pages' section" - And I check "Full administrative rights" - Then the "Access to 'Reports' section" checkbox should be checked - And I press the "Create" button - And I click the "Permissions" CMS tab - Then the "Full administrative rights" checkbox should be checked - And the "Access to 'Pages' section" checkbox should be checked - And I uncheck "Full administrative rights" - Then the "Access to 'Pages' section" checkbox should not be checked - And I check "Access to all CMS sections" - And I press the "Save" button - Then the "Access to 'Pages' section" checkbox should be checked - And I uncheck "Access to all CMS sections" - Then the "Access to 'Pages' section" checkbox should not be checked