silverstripe-reports/tests/cuke/logout.feature
Sam Minnee 419da4d67c MINOR: Added a first cut of some cucumber tests for the CMS
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@94529 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:07 +13: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."