Commit 1f8c0c07 authored by Robert Lyon's avatar Robert Lyon
Browse files

More @failed tests being fixed up to pass



Change-Id: I8bcaec402167e754daf62595c3ad77091634a865
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 5a488a7a
@javascript @core_content
@javascript @core @core_content
Feature: Adding tags and Verifying them
In order to add a tag
As an admin I need to be able to go Content
......@@ -66,7 +66,7 @@ Scenario: Adding tags to files (Bug 1426983)
And I press "Add"
And I fill in "Tags" with "box, test"
And I press "Save"
And I follow "Portfolio"
And I go to "/view/index.php"
And I wait "1" seconds
Then I follow "Tags"
# Verifying tags are saved
......
@javascript @core_artefact @core_portfolio @core_collection
@javascript @core @core_artefact @core_portfolio @core_collection
Feature: Adding pages to a collection
In order to add pages to a collection
As an admin I need pages
......@@ -33,7 +33,7 @@ Scenario: Creating a collection AND adding pages
# Sort pages by Last modified
Then I follow "Portfolio"
And I select "Last modified" from "Sort by:"
And I press "Search"
And I press the key "Enter" in the "Search:" field
# Checking they are in the right order
And I wait "1" seconds
And "Testing page 1" "link" should appear before "Testing page 2" "link"
......
@javascript @portfolio
@javascript @core @portfolio
Feature: Creating a page with stuff in it
In order to have a portfolio
As a user I need navigate to to portfolio
......@@ -17,25 +17,25 @@ Scenario: Creating a page with content in it (Bug 1426983)
And I press "Save"
# Adding media block
And I expand "Media" node
And I wait until the page is ready
And I wait "1" seconds
And I follow "File(s) to download"
And I press "Add"
And I press "Save"
# Adding Journal block
And I expand "Journals" node in the "div#content-editor-foldable" "css_element"
And I wait until the page is ready
And I wait "1" seconds
And I follow "Recent journal entries"
And I press "Add"
And I press "Save"
# Adding profile info block
And I expand "Personal info" node
And I wait until the page is ready
And I wait "1" seconds
And I follow "Profile information"
And I press "Add"
And I press "Save"
# Adding external media block - but cancel out
And I expand "External" node
And I wait until the page is ready
And I wait "1" seconds
And I follow "External media"
And I press "Add"
And I press "Remove"
......
@javascript @core_artefact
@javascript @core @core_artefact
Feature: Visibility of social medial buttons
In order to view and click on the social media buttons
As a student
......@@ -36,14 +36,16 @@ Scenario: Creating and accessing social media buttons (Bug 1448948)
And I follow "Display settings"
And the field "buttons with icons and text" matches value "1"
And I press "Save"
And I follow "Share page"
And I wait "10" seconds
And I go to "/view/share.php"
And I click on "Edit access" in "Open source is for winners" row
And I wait "1" seconds
And I select "Public" from "accesslist[0][searchtype]"
And I press "Save"
And I should see "Access rules were updated for 1 page"
And I follow "Logout"
# Logging in as userB to try see the buttons
Given I log in as "userB" with password "Kupuhipa1"
And I wait "1" seconds
And I follow "Open source is for winners"
And I should see "Social Media"
And I should see "Facebook"
......
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