secret_url.feature 1.11 KB
Newer Older
1
@javascript @core @core_artefact @core_portfolio
2
3
4
5
Feature: Check Secret URL functionality
    1) Log in and create seceret URL
    2) Verify copy icon button is displayed
    3) Verify that Secret URL was created
6

7
8
9
Background:
    Given the following "pages" exist:
    | title | description| ownertype | ownername |
10
    | Page admin A | Page | admin | admin |
11

12
Scenario: Create a page and secret URLs to copy (Bug 1426983)
Gregor Anzelj's avatar
Gregor Anzelj committed
13
    Given I log in as "admin" with password "Kupuh1pa!"
14
    And I choose "Shared by me" in "Share" from main menu
15
    And I click on "Edit secret URL access" in "Page admin A" row
16
    And I press "New secret URL"
17
    And I should see "Copy secret URL to the clipboard"
18
    And I choose "Shared by me" in "Share" from main menu
19
20
21
22
23
24
25
26
27
28
29
    Then I should see "1" in the "Page admin A" row

 """
 ToDo
 This script still needs the following steps:
 1) user to click the "Copy secret URL to the clipboard" icon button
 2) paste the copied URL into an address bar
 3) verify the page title is "Page admin_01"

 NOTE - To write a function for the above will take a great deal of effort and is not feasible at this time
 """