From ea29c1276b5de31c605f66e190d383610ac56708 Mon Sep 17 00:00:00 2001 From: Mike Parkhill Date: Fri, 7 Jun 2013 17:15:50 +1200 Subject: [PATCH] Behat: Adding user help scenario #607 --- tests/behat/features/access-user-help.feature | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/behat/features/access-user-help.feature diff --git a/tests/behat/features/access-user-help.feature b/tests/behat/features/access-user-help.feature new file mode 100644 index 00000000..e7a0d330 --- /dev/null +++ b/tests/behat/features/access-user-help.feature @@ -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" \ No newline at end of file