Skip to content

Commit

Permalink
ENH Replace ADMIN permissions with less permissions in Behat test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabina Talipova committed Sep 2, 2022
1 parent 04a557f commit fe502d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/behat/features/elemental-fileblock.feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ Feature: Use elemental fileblock

Background:
Given I add an extension "DNADesign\Elemental\Extensions\ElementalPageExtension" to the "Page" class
And the "group" "EDITOR group" has permissions "CMS_ACCESS_LeftAndMain"
And the "group" "EDITOR" has permissions "Access to 'Pages' section" and "Access to 'Files' section"
And a "page" "My page"
And a "folder" "assets/Uploads"
And a "file" "assets/Uploads/test1.pdf"

Scenario: Operate elemental fileblocks
Given I am logged in with "EDITOR" permissions
Given I am logged in as a member of "EDITOR" group
When I go to "/admin/pages"
And I follow "My page"

Expand Down

0 comments on commit fe502d9

Please sign in to comment.