silverstripe-reports/tests/cuke/logout.feature
Sean Harvey eab27b46a8 MINOR: Added a first cut of some cucumber tests for the CMS (from r94529)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@95648 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 05:58:50 +00:00

20 lines
813 B
Gherkin

Feature: Log out
As a CMS user
I want to be able to log and be locked out of the CMS
So that I can know other people can't edit my site
Scenario: Log out from CMS
Given I log into the CMS as admin
And I click the "log out" link
When I visit admin/
Then I see "Enter your username and password to access the CMS."
When I visit admin/assets/
Then I see "Enter your username and password to access the CMS."
When I visit admin/comments/
Then I see "Enter your username and password to access the CMS."
When I visit admin/reports/
Then I see "Enter your username and password to access the CMS."
When I visit admin/security/
Then I see "Enter your username and password to access the CMS."
When I visit admin/subsites/
Then I see "Enter your username and password to access the CMS."