ENH Replace ADMIN permissions with less permissions in Behat test

This commit is contained in:
Sabina Talipova 2022-09-01 13:14:03 +12:00
parent 9381f33959
commit 6ba5d6f430
1 changed files with 2 additions and 1 deletions

View File

@ -3,13 +3,14 @@ Feature: External links report
I want to use the external links report
Background:
Given the "group" "EDITOR group" has permissions "CMS_ACCESS_LeftAndMain"
Given the "group" "EDITOR" has permissions "Access to 'Jobs' section" and has permissions "Access to 'Reports' section" and has permissions "Access to 'Pages' section"
# Need to use single quotes rather than escaped double quotes when defining the fixture otherwise
# it'll end up saved as " and the hyperlink will be wrong
# When the page is published it should be converted by tinymce to double quotes
Given a "page" "My page" has the "Content" "<p>My <a href='http://fsdjoifidsohfiohfsoifhiodshfhdosi.com'>link</a> content</p>"
Scenario: Operate the external links report
#Given I am logged in as a member of "EDITOR" group
Given I am logged in with "ADMIN" permissions
# Publish page