Test Result : Scenario: Adding Account:Write permission to user in sub-account scope

0 failures
31 tests
Took 21 ms.

All Tests

Test nameDurationStatus
And A generic user0 msPassed
And Account0 msPassed
And Account0 msPassed
And Account "subAccount1" has 0 children0 msPassed
And Account "subAccount1" has 1 children0 msPassed
And Add permissions to the last created user0 msPassed
And An exception was thrown0 msPassed
And An exception was thrown0 msPassed
And An exception was thrown7 msPassed
And An exception was thrown0 msPassed
And An exception was thrown0 msPassed
And I add credentials0 msPassed
And I configure account service0 msPassed
And I configure user service0 msPassed
And I delete account "subAccount0"0 msPassed
And I delete account "subAccount1"0 msPassed
And I logout0 msPassed
And I logout0 msPassed
And I modify the account "subAccount0"0 msPassed
And I modify the account "subAccount1"0 msPassed
And I select account "kapua-sys"0 msPassed
And I set the expiration date to 2030-05-050 msPassed
Given I login as user with name "kapua-sys" and password "kapua-password"0 msPassed
Scenario: Adding Account:Write permission to user in sub-account scope14 msPassed
Then Account0 msPassed
Then I expect the exception "SubjectUnauthorizedException" with the text "User does not have permission"0 msPassed
Then I expect the exception "SubjectUnauthorizedException" with the text "User does not have permission"0 msPassed
Then I expect the exception "SubjectUnauthorizedException" with the text "User does not have permission"0 msPassed
Then I expect the exception "SubjectUnauthorizedException" with the text "User does not have permission"0 msPassed
Then I expect the exception "SubjectUnauthorizedException" with the text "User does not have permission"0 msPassed
When I login as user with name "user1" and password "ToManySecrets123#"0 msPassed