Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH Replace ADMIN permissions with less permissions in Behat test #57

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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