silverstripe-cms/tests/salad/logout.feature

20 lines
1011 B
Gherkin
Raw Normal View History

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 "Please choose an authentication method and enter your credentials to access the CMS."
When I visit admin/assets/
Then I see "Please choose an authentication method and enter your credentials to access the CMS."
When I visit admin/comments/
Then I see "Please choose an authentication method and enter your credentials to access the CMS."
When I visit admin/reports/
Then I see "Please choose an authentication method and enter your credentials to access the CMS."
When I visit admin/security/
Then I see "Please choose an authentication method and enter your credentials to access the CMS."
When I visit admin/subsites/
Then I see "Please choose an authentication method and enter your credentials to access the CMS."