mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Behat: Removed unnecessary access-user-help.feature
It doesn't add much value in terms of testing (can't see how we'd ever mess up the "Help" menu entry), and it relies on the availability of an external resource (userhelp.ss.org), making the tests more brittle. It also breaks the feature following this one, because somehow Behat doesn't reset the browser session, so subsequent logins fail because a login still exists.
This commit is contained in:
parent
5476bbeefb
commit
e9fe4f7c68
@ -1,19 +0,0 @@
|
|||||||
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