mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Behat: Adding user help scenario #607
This commit is contained in:
parent
08850da71e
commit
ea29c1276b
19
tests/behat/features/access-user-help.feature
Normal file
19
tests/behat/features/access-user-help.feature
Normal 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"
|
Loading…
Reference in New Issue
Block a user