Commit b237856f authored by Niranjan Bandi's avatar Niranjan Bandi
Browse files

Bug 1677949: Added few more social media options



Change-Id: I37771bb45321c2633c2e2d9de21c747c929a59c2
Signed-off-by: default avatarNiranjan Bandi <niranjanbandi@catalyst.net.nz>
parent b469a04e
......@@ -21,6 +21,22 @@ Scenario: Creating and accessing social media buttons (Bug 1448948)
And I select "Facebook URL" from "Social network"
And I fill in "https://www.facebook.com/wellingtonphoenixfc" for "Your URL or username"
And I press "Save"
And I follow "New social media account"
And I select "Twitter username" from "Social network"
And I fill in "mahara" for "Your URL or username"
And I press "Save"
And I follow "New social media account"
And I select "Instagram username" from "Social network"
And I fill in "maharainst" for "Your URL or username"
And I press "Save"
And I follow "New social media account"
And I select "Skype username" from "Social network"
And I fill in "maharaskype" for "Your URL or username"
And I press "Save"
And I follow "New social media account"
And I select "Yahoo Messenger" from "Social network"
And I fill in "maharayahoo" for "Your URL or username"
And I press "Save"
And I choose "Portfolio" from main menu
And I follow "Add"
And I click on "Page" in the dialog
......@@ -31,9 +47,12 @@ Scenario: Creating and accessing social media buttons (Bug 1448948)
And I follow "Social media"
And I press "Add"
And I check "Facebook (Social media)"
And I check "Twitter (Social media)"
And I check "Instagram (Social media)"
And I check "Skype (Social media)"
And I check "Yahoo Messenger (Social media)"
And I follow "Display settings"
And the field "buttons with icons and text" matches value "1"
And I scroll to the base of id "instconf"
And I press "Save"
And I go to "/view/share.php"
And I click on "Edit access" in "Open source is for winners" row
......@@ -44,6 +63,9 @@ Scenario: Creating and accessing social media buttons (Bug 1448948)
# Logging in as userB to try see the buttons
Given I log in as "userB" with password "Kupuhipa1"
And I follow "Open source is for winners"
And I scroll to the base of id "messages"
And I should see "Social Media"
And I should see "Facebook"
And I should see "Twitter"
And I should see "Instagram"
And I should see "Skype"
And I should see "Yahoo Messenger"
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