Test Result : Scenario: Add Endpoint Permission To The User

0 failures
30 tests
Took 18 ms.

All Tests

Test nameDurationStatus
And A generic user0 msPassed
And Add permissions to the last created user0 msPassed
And I add credentials0 msPassed
And I create endpoint with schema "endpoint1", domain "com" and port 200000 msPassed
And I delete endpoint with schema "end2", domain "com" and port 200000 msPassed
And I login as user with name "kapua-sys" and password "kapua-password"0 msPassed
And I login as user with name "kapua-sys" and password "kapua-password"0 msPassed
And I login as user with name "user1" and password "ToManySecrets123#"0 msPassed
And I logout0 msPassed
And I logout0 msPassed
And I select account "kapua-sys"0 msPassed
And Scope with ID 10 msPassed
Given I expect the exception "SubjectUnauthorizedException" with the text "Missing permission: endpoint_info:read:"0 msPassed
Given I expect the exception "SubjectUnauthorizedException" with the text "Missing permission: endpoint_info:write:*:*"0 msPassed
Given I login as user with name "kapua-sys" and password "kapua-password"0 msPassed
Scenario: Add Endpoint Permission To The User15 msPassed
Then An exception was thrown0 msPassed
Then An exception was thrown0 msPassed
Then An exception was thrown0 msPassed
Then I login as user with name "user1" and password "ToManySecrets123#"0 msPassed
Then I logout0 msPassed
Then I logout0 msPassed
Then I logout0 msPassed
Then No exception was thrown0 msPassed
Then No exception was thrown0 msPassed
When I create endpoint with schema "end2", domain "com" and port 200000 msPassed
When I delete endpoint with schema "end2", domain "com" and port 200003 msPassed
When I expect the exception "SubjectUnauthorizedException" with the text "Missing permission: endpoint_info:delete:*:*"0 msPassed
When I try to find endpoint with schema "endpoint1"0 msPassed
When I try to find endpoint with schema "endpoint1"0 msPassed