Test Result : Scenario: Add Endpoint_info permissions to the role in child account

0 failures
30 tests
Took 13 ms.

All Tests

Test nameDurationStatus
And I add access role "Role1" to user "SubUser" in account "SubAccount"0 msPassed
And I add credentials0 msPassed
And I configure user service0 msPassed
And I count 30 msPassed
And I create an account with name "SubAccount", organization name "organization" and email adress "organization@gmail.com"0 msPassed
And I create endpoint with schema "TestEndpoint", domain "com" and port 80000 msPassed
And I create endpoint with schema "endpoint2", domain "dns" and port 200000 msPassed
And I create role "Role1" in account "SubAccount"0 msPassed
And I create the access info entity in account "SubAccount"0 msPassed
And I create the following role permissions in account "SubAccount"0 msPassed
And I create user with name "SubUser" in account "SubAccount"0 msPassed
And I delete the endpoint with schema "TestEndpoint", domain "com" and port 80000 msPassed
And I find account with name "SubAccount"0 msPassed
And I login as user with name "SubUser" and password "User@10031995"0 msPassed
And I logout0 msPassed
And I logout0 msPassed
And I search for the permissions of found role "Role1" in account "SubAccount"0 msPassed
And I select the domain "endpoint_info"1 msPassed
And I try to find endpoint with schema "TestEndpoint", domain "com" and port 80000 msPassed
And I try to find role with name "Role1" in account "SubAccount"0 msPassed
And Scope with ID 10 msPassed
And The account with name "kapua-sys" has 1 subaccount1 msPassed
Given I login as user with name "kapua-sys" and password "kapua-password"0 msPassed
Scenario: Add Endpoint_info permissions to the role in child account10 msPassed
Then An exception was thrown0 msPassed
Then An exception was thrown0 msPassed
Then No exception was thrown0 msPassed
Then Role with name "Role1" in account "SubAccount" is found0 msPassed
When I expect the exception "SubjectUnauthorizedException" with the text "Missing permission: endpoint_info:delete:"1 msPassed
When I expect the exception "SubjectUnauthorizedException" with the text "Missing permission: endpoint_info:write:"0 msPassed