Then I should be allowed to open the control panel page "entries"

Assert that the signed-in account may, or may not, open a control panel page (by name or path): the step opens it and reads the answer.

Examples

Then I should be allowed to open the control panel page "entries"
Then I should not be allowed to open the control panel page "settings"
Then we should not be allowed to open the control panel page "globals"
Then I should not be allowed to open the control panel page "utilities/system-report"
And I should be allowed to open the control panel page "assets"

Pattern

Then(/^(I |we )*should( not)* be allowed to open the control panel page "([^"]*)"$/, …)

Part of @webship-js/craft-cms-steps (github.com/webship/craft-cms-steps), a step pack for Webship-js 2.0.x.