Skip to content

Commit

Permalink
Merge pull request #57 from creative-commoners/pulls/2/review-behat-t…
Browse files Browse the repository at this point in the history
…ests

ENH Replace ADMIN permissions with less permissions in Behat test
  • Loading branch information
GuySartorelli authored Oct 5, 2022
2 parents 693c7cb + 8042bd4 commit b588c9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/behat/features/securityreport.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ Feature: Security report
I want to use the security report

Background:
Given the "group" "EDITOR group" has permissions "CMS_ACCESS_LeftAndMain" and "FILE_EDIT_ALL"
Given the "group" "EDITOR" has permissions "CMS_ACCESS_LeftAndMain" and "FILE_EDIT_ALL"

# Login as EDITOR to create member
And I am logged in with "EDITOR" permissions
And I am logged in as a member of "EDITOR" group

# Logout and login again as ADMIN
And I go to "/Security/login"
Expand All @@ -31,7 +31,7 @@ Feature: Security report
And I should see "[email protected]"

# Groups column
And I should see "EDITOR group (global group)"
And I should see "EDITOR (global group)"

# Permissions column
Then I should see "Edit any file"
Expand Down

0 comments on commit b588c9f

Please sign in to comment.