Commit 0dee5e35 authored by Robert Lyon's avatar Robert Lyon Committed by Aaron Wells
Browse files

Bug 1465462: more fixing behat tests for artefact section



Change-Id: I993ec4578cbee5456aa963a741458a9208adbe35
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 921dcf47
...@@ -17,8 +17,6 @@ Given the following "users" exist: ...@@ -17,8 +17,6 @@ Given the following "users" exist:
| Page title | Sharky | | Page title | Sharky |
And I press "Save" And I press "Save"
And I follow "Display page" And I follow "Display page"
And I follow "Sharky"
And I follow "Place feedback"
# Checking the default settings on the fields are correct # Checking the default settings on the fields are correct
And the following fields match these values: And the following fields match these values:
| Make public | 1 | | Make public | 1 |
...@@ -28,7 +26,7 @@ Given the following "users" exist: ...@@ -28,7 +26,7 @@ Given the following "users" exist:
# Changing the switchbox back to default setting # Changing the switchbox back to default setting
And I set the following fields to these values: And I set the following fields to these values:
| Make public | 1 | | Make public | 1 |
And I press "Place feedback" And I press "Comment"
And I should see "There was an error with submitting this form. Please check the marked fields and try again." And I should see "There was an error with submitting this form. Please check the marked fields and try again."
And I should see "Your message is empty. Please enter a message or attach a file." And I should see "Your message is empty. Please enter a message or attach a file."
......
...@@ -25,9 +25,9 @@ Scenario: Adding collection to group (Bug 1448807) ...@@ -25,9 +25,9 @@ Scenario: Adding collection to group (Bug 1448807)
| Site Page 01 | 1 | | Site Page 01 | 1 |
And I press "Add pages" And I press "Add pages"
And I wait until the page is ready And I wait until the page is ready
And I follow "Display page" And I follow "Done"
And I choose "Shared by me" in "Portfolio" And I choose "Shared by me" in "Portfolio"
And I follow "Edit access (ID 5)" And I follow "Edit access"
And I press "Add access for group \"group 01\"" And I press "Add access for group \"group 01\""
And I press "Save" And I press "Save"
Then I should see "Access rules were updated for 1 page(s)" Then I should see "Access rules were updated for 1 page(s)"
......
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