Test Result : Scenario: Querying Other Items With All Account Permissions

0 failures
39 tests
Took 12 ms.

All Tests

Test nameDurationStatus
And A device named "test_device"0 msPassed
And A generic user0 msPassed
And Account0 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 thrown0 msPassed
And An exception was thrown0 msPassed
And An exception was thrown0 msPassed
And An exception was thrown0 msPassed
And I add credentials0 msPassed
And I configure the device registry service0 msPassed
And I configure the group service0 msPassed
And I configure the job service0 msPassed
And I configure the role service0 msPassed
And I configure the tag service0 msPassed
And I configure user service0 msPassed
And I create a group with name "test_group"0 msPassed
And I create a job with the name "test_job"0 msPassed
And I create tag with name "test_tag" without description0 msPassed
And I create the following role0 msPassed
And I find a job with name "test_job"0 msPassed
And I find a role with name "test_role"0 msPassed
And I logout0 msPassed
And I query for devices with Client Id "test_device"0 msPassed
And I search for the group with name "test_group"0 msPassed
And I search for user with name "user1"0 msPassed
And I select account "kapua-sys"0 msPassed
And Tag with name "test_tag" is searched0 msPassed
Given I login as user with name "kapua-sys" and password "kapua-password"0 msPassed
Scenario: Querying Other Items With All Account Permissions12 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
Then I expect the exception "SubjectUnauthorizedException" with the text "User does not have permission"0 msPassed
Then I logout0 msPassed
When I login as user with name "user1" and password "ToManySecrets123#"0 msPassed