Commit 96a1f4ef authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1448948: fixing problems with the behat test



Change-Id: If2b882d383f04905598c0d1fa28c2cfa66d75cd5
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent ba10699b
......@@ -20,7 +20,7 @@ Scenario: Creating and accessing social media buttons (Bug 1448948)
And I follow "New social media account"
And I set the following fields to these values:
| Social network * | Facebook URL |
| Your URL or username * | facebook.com |
| Your URL or username * | https://www.facebook.com/wellingtonphoenixfc |
And I press "Save"
And I follow "Portfolio"
And I press "Create page"
......@@ -28,18 +28,16 @@ Scenario: Creating and accessing social media buttons (Bug 1448948)
| Page title * | Open source is for winners |
And I press "Save"
And I expand "Personal info" node
And I wait until the page is ready
And I follow "Social media"
And I press "Save"
And I press "Add"
And I set the following fields to these values:
| Social media | 1 |
| artefactids_14 | 1 | # too many things on the page with string 'Social media' so hitting actual one via it's id
And I follow "Display settings"
And the following fields match these values:
| buttons with icons only | 0 |
| buttons with icons and text | 1 |
| buttons with text only | 0 |
And the field "buttons with icons and text" matches value "1"
And I press "Save"
And I follow "Share page »"
And I press "Add access for Public"
And I press "Add access for \"Public\""
And I press "Save"
And I should see "Access rules were updated for 1 page(s)"
And I follow "Logout"
......@@ -47,6 +45,5 @@ Scenario: Creating and accessing social media buttons (Bug 1448948)
Given I log in as "userB" with password "Password1"
And I follow "Open source is for winners"
And I should see "Social Media"
And I should see "Twitter"
And I should see "Facebook"
Supports Markdown
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