Commit 57ec0785 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1465462: adjusting behat steps to deal with new text



Change-Id: I2f7063a841f2bb473f93b03cde20c9c2a0633189
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 885fa727
......@@ -22,8 +22,8 @@ Scenario Outline: Adding a Note block to a portfolio (Bug 1424512)
And I press "Save"
# Adding a note block
And I expand "General" node
And I wait "2" seconds
And I follow "Note"
And I wait "1" seconds
And I follow "Note" in the "div#general" "css_element"
And I press "Add"
# Configuring the block
And I fill in the following:
......
......@@ -13,11 +13,11 @@ Scenario: Adding tags to files (Bug 1426983)
# Creating a folder with a tag
When I choose "Files" in "Content"
And I set the following fields to these values:
|Folder name | folder1 |
|Create folder | folder1 |
# Pressing create folder button
And I press "Create folder"
# Editing the folder
And I press "edit_6"
And I press "Edit folder \"folder1\""
And I set the following fields to these values:
| Description | This is a subdirectory |
| Tags | folder |
......@@ -52,7 +52,7 @@ Scenario: Adding tags to files (Bug 1426983)
| Page title * | Test page 1 |
| Tags | page, test |
And I press "Save"
And I follow "Display page"
And I follow "Portfolio"
# Creating page 2 with a tag
And I press "Create page"
And I set the following fields to these values:
......@@ -61,12 +61,13 @@ Scenario: Adding tags to files (Bug 1426983)
And I press "Save"
# Creating a Note with a tag
And I expand "General" node
And I wait until the page is ready
And I follow "Note"
And I wait "1" seconds
And I follow "Note" in the "div#general" "css_element"
And I press "Add"
And I fill in "Tags" with "box, test"
And I press "Save"
And I follow "Display page"
And I follow "Portfolio"
And I wait "1" seconds
Then I follow "Tags"
# Verifying tags are saved
And I should see "Note"
......
......@@ -42,4 +42,3 @@ Scenario: Creating a page with content in it (Bug 1426983)
And I follow "Display page"
# Verifying the page saved and is clickable
Then I should see "Test view"
\ No newline at end of file
And I follow "Test view"
......@@ -26,7 +26,7 @@
And I follow "Portfolio"
And I follow "A's Page 01"
And I follow "Edit this page"
And I follow "Share page »"
And I follow "Share page"
And I follow "Select all"
And I press "Public"
And I press "editaccess_submit"
......@@ -36,7 +36,7 @@
And I click on "Advanced options"
And I click on "Select all"
And I select "title" from "sort"
And I press "search_search"
And I press "search_submit"
And I should see "Maximum items per page:"
And I select "1" from "limit"
And I wait until the page is ready
......@@ -44,6 +44,6 @@
And I should see "2"
And I should see "3"
And I follow "3"
And I wait until the page is ready
And I wait "1" seconds
And I should see "4"
And I should see "5"
......@@ -19,8 +19,8 @@ Scenario: Create a page and secret URLs to copy (Bug 1426983)
And I follow "Display page"
# Navigating to shared by be to click button
And I choose "Shared by me" in "Portfolio"
And I click on "secreturl_6"
And I press "Add"
And I click on "Edit secret URL access"
And I press "New secret URL"
# Verifying Secret URLs was created
And I choose "Shared by me" in "Portfolio"
Then I should see "1"
......@@ -36,7 +36,7 @@ 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 follow "Share page"
And I press "Add access for \"Public\""
And I press "Save"
And I should see "Access rules were updated for 1 page(s)"
......
@javascript @core @core_view @core_portfolio
Feature: Adjusting the max items limit on the Shared with me page.
In order to be able to display a set amount of items on the shared with me page
As an admin
In order to be able to display a set amount of items on the shared with me page
As an admin
So I can view only a limited amount of pages at one time.
Scenario: Making sure that the max items per page drop down limits to correct amount of pages (Bug 1409369)
......@@ -66,7 +68,7 @@
When I follow "Portfolio"
And I follow "A's Page 01"
And I follow "Edit this page"
And I follow "Share page »"
And I follow "Share page"
And I follow "Select all"
And I press "Public"
And I press "editaccess_submit"
......@@ -76,7 +78,7 @@
And I click on "Advanced options"
And I click on "Select all"
And I select "title" from "sort"
And I press "search_search"
And I press "search_submit"
Then I should see "Maximum items per page:"
And I select "1" from "limit"
And I wait until the page is ready
......
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