| 1 |
Feature: Subordinate IDs manipulation |
| 2 |
Create subordinate IDs |
| 3 |
|
| 4 |
@seed |
| 5 |
Scenario: Prep: Create new user |
| 6 |
Given User "testuser" "Test" "User" exists and is using password "Secret123" |
| 7 |
|
| 8 |
@test |
| 9 |
Scenario: Add a new subordinate ID |
| 10 |
Given I am logged in as admin |
| 11 |
And I am on "subordinate-ids" page |
| 12 |
|
| 13 |
When I click on the "subids-button-add" button |
| 14 |
Then I should see "add-subid-modal" modal |
| 15 |
|
| 16 |
When I select "testuser" option in the "modal-simple-owner-select" selector |
| 17 |
Then I should see "testuser" option in the "modal-simple-owner-select" selector |
| 18 |
|
| 19 |
When I click on the "modal-button-add" button |
| 20 |
Then I should not see "add-subid-modal" modal |
| 21 |
And I should see "add-subid-success" alert |
| 22 |
|
| 23 |
@cleanup |
| 24 |
Scenario: Cleanup: Delete a user |
| 25 |
Given I delete user "testuser" |