skin_help_icon.feature 1.38 KB
Newer Older
1
 @javascript @core @core_view @core_portfolio
2
3
4
5
6
7
 Feature: Adding the contextual help for pages in "Portfolio"/"Skins" menu
  In order to see the contextual help for pages in "Portfolio"/"Skins" menu
  As a student
  So I can click the (i) icon next to the page header to see its description

Background:
8
  Given the following site settings are set:
9
10
      | field | value |
      | skins | 1 |
11
12

  Given the following "users" exist:
13
      | username | password | email | firstname | lastname | institution | authname | role |
14
      | userA | Kupuhipa1 | test01@example.com | Pete | Mc | mahara | internal | member |
15
16

Scenario: Accessing help icons under Skin tabs (Bug 1411070)
17
    Given I log in as "userA" with password "Kupuhipa1"
18
    And I choose "Skins" in "Portfolio" from Main menu
19
    When I click on "Help"
20
    And I should see "Skins help you customise the look of your portfolio pages to give them a personal touch." in the "div#helpstop" element
21
    And I follow "Close help"
22
    And I follow "Create skin"
23
24
    And the following fields match these values:
    | Skin access | private |
25
    And I click on "Help"
26
    Then I should see "You can design your own skin" in the "div#helpstop" element
27
    And I choose "Skins" in "Portfolio" from Main menu
28
    And I follow "Import skin(s)"
29
    And I click on "Help"
30
    And I should see "You can import skins from other Mahara sites." in the "div#helpstop" element