| 1 |
Feature: Subordinate IDs - Settings page |
| 2 |
Modify Subodinate IDs settings |
| 3 |
|
| 4 |
@seed |
| 5 |
Scenario: Prep: Create new user |
| 6 |
Given User "testuser" "Test" "User" exists and is using password "Secret123" |
| 7 |
And subid for owner "testuser" exists |
| 8 |
|
| 9 |
# This test assumes that there is only one single subordinate ID in the table |
| 10 |
# because we don't know the ID of the subordinate ID |
| 11 |
@test |
| 12 |
Scenario: Set 'Description' field |
| 13 |
Given I am logged in as admin |
| 14 |
Given I am on "subordinate-ids" page |
| 15 |
|
| 16 |
When I click on the first subid |
| 17 |
Then I should be on the subid settings page |
| 18 |
|
| 19 |
When I type in the "subids-tab-settings-textbox-description" textbox text "test_user" |
| 20 |
Then I should see "test_user" in the "subids-tab-settings-textbox-description" textbox |
| 21 |
|
| 22 |
When I click on the "subids-tab-settings-button-save" button |
| 23 |
Then I should see "success" alert |
| 24 |
|
| 25 |
@cleanup |
| 26 |
Scenario: Cleanup: Delete user |
| 27 |
Given I delete user "testuser" |