Commit f6873e78 authored by Doris Tam's avatar Doris Tam Committed by Jinelle Foley-Barnes
Browse files

Behat test for adding contextual help on pages under Portfolio -> Skins

Bug 1411070

Change-Id: Ifbe0c62f15a5f8763a14222d9c6bfc409c687db3
parent ab152be2
@javascript @core @core_portfolio
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:
Given the following site settings are set:
| field | value |
| skins | 1 |
Given the following "users" exist:
| username | password | email | firstname | lastname | institution | authname | role |
| userA | Password1 | test01@example.com | Pete | Mc | mahara | internal | member |
Scenario: Accessing help icons under Skin tabs (Bug 1411070)
Given I log in as "userA" with password "Password1"
And I follow "Portfolio"
And I choose "Skins" in "Portfolio"
And I follow "Help"
And I wait until the page is ready
Then I should see "Skins help you customise the look of your portfolio pages to give them a personal touch." in the "div#helpstop" element
And I press "Create skin"
And I follow "Help"
And I wait until the page is ready
Then I should see "You can design your own skin" in the "div#helpstop" element
And I choose "Skins" in "Portfolio"
And I press "Import skin(s)"
And I follow "Help"
And I wait until the page is ready
Then I should see "You can import skins from other Mahara sites." in the "div#helpstop" element
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment