Commit 586fdcd6 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Behat Test: Secret URL access button (Bug 1426983)"

parents 80ec8308 85bd2d46
@javascript @core @core_portfolio
Feature: Button to reliably copy secret URLs
In order to copy a secret URLs
As an admin I need to create page
So I can press secret URLs button and copy it
Scenario: Create a page and secret URLs to copy (Bug 1426983)
# Log in as an Admin user
Given I log in as "admin" with password "Password1"
# Verifying log in was successful
And I should see "Admin User"
When I follow "Portfolio"
And I press "Create page"
And I fill in the following:
| Page title | Testing page 1 |
And I press "Save"
# Verifying page was created
And I should see "Page saved successfully"
And I press "Done"
# 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"
# Verifying Secret URLs was created
And I choose "Shared by me" in "Portfolio"
And I should see "1"
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