mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
ENHANCEMENT: Updated automatic regression tests (Salad) (from r101871)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@111649 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
7316586899
commit
e33bfb2755
@ -11,7 +11,7 @@ Feature: Log in
|
||||
Then I am sent to Security/login
|
||||
|
||||
Scenario: valid login
|
||||
When I fill out the log in form with user "admin" and password "password"
|
||||
When I fill out the login form with user "admin" and password "password"
|
||||
Then I see "You're logged in as"
|
||||
|
||||
Scenario: no password login
|
||||
@ -34,3 +34,6 @@ Feature: Log in
|
||||
And I click the "Log in" button
|
||||
Then I am sent to admin
|
||||
|
||||
Scenario: Re-login
|
||||
Given I visit Security/logout
|
||||
Then I log into the CMS as admin
|
||||
|
@ -7,14 +7,14 @@ Feature: Log out
|
||||
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."
|
||||
Then I see "Please choose an authentication method and enter your credentials to access the CMS."
|
||||
When I visit admin/assets/
|
||||
Then I see "Enter your username and password to access the CMS."
|
||||
Then I see "Please choose an authentication method and enter your credentials to access the CMS."
|
||||
When I visit admin/comments/
|
||||
Then I see "Enter your username and password to access the CMS."
|
||||
Then I see "Please choose an authentication method and enter your credentials to access the CMS."
|
||||
When I visit admin/reports/
|
||||
Then I see "Enter your username and password to access the CMS."
|
||||
Then I see "Please choose an authentication method and enter your credentials to access the CMS."
|
||||
When I visit admin/security/
|
||||
Then I see "Enter your username and password to access the CMS."
|
||||
Then I see "Please choose an authentication method and enter your credentials to access the CMS."
|
||||
When I visit admin/subsites/
|
||||
Then I see "Enter your username and password to access the CMS."
|
||||
Then I see "Please choose an authentication method and enter your credentials to access the CMS."
|
@ -36,7 +36,7 @@ Given /I load the "(.*)" root-level page/ do |nav|
|
||||
end
|
||||
|
||||
Given /I load the root node/ do
|
||||
Given 'I click the "admin/0" link'
|
||||
Given 'I click the "admin/show/root" link'
|
||||
end
|
||||
|
||||
Given /create a new page$/i do
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Log in
|
||||
Given /log in as (.*)$/ do |user|
|
||||
Given "I fill out the log in form with user \"#{user}\" and password \"password\""
|
||||
And 'I see "Your are logged in as"'
|
||||
And 'I see "You\'re logged in as"'
|
||||
end
|
||||
|
||||
Given /log into the CMS as (.*)/ do |user|
|
||||
|
Loading…
Reference in New Issue
Block a user