Behat: Adding user help scenario #607

This commit is contained in:
Mike Parkhill 2013-06-07 17:15:50 +12:00 committed by Stig Lindqvist
parent 08850da71e
commit ea29c1276b

View File

@ -0,0 +1,19 @@
Feature: Access the User Help
As a CMS user
I want to access the user help in the CMS
So that I can get help about the CMS features
@javascript
Scenario: I can get to http://3.0.userhelp.silverstripe.org from anywhere in the CMS
Given I am logged in with "ADMIN" permissions
And I go to "/admin/pages"
Then I should see "Help" in the "#Menu-Help" element
Given I go to "/admin/settings"
Then I should see "Help" in the "#Menu-Help" element
Given I go to "http://3.0.userhelp.silverstripe.org"
Then I should see "SilverStripe User Help!"
#Given I click "Help" in the "#Menu-Help" element
#Then the url should match "http://3.0.userhelp.silverstripe.org"