Test Result : Scenario: Add datastore permissions to the role

0 failures
27 tests
Took 16 ms.

All Tests

Test nameDurationStatus
And I add access role "test_role" to user "user1"1 msPassed
And I add credentials0 msPassed
And I configure user service0 msPassed
And I create the access info entity0 msPassed
And I create the following role0 msPassed
And I create the following role permissions0 msPassed
And I create the following role permissions0 msPassed
And I create user with name "user1"0 msPassed
And I expect the exception "SubjectUnauthorizedException" with the text "Missing permission: datastore:read:"0 msPassed
And I login as user with name "kapua-sys" and password "kapua-password"0 msPassed
And I logout0 msPassed
And I logout0 msPassed
And I logout0 msPassed
And I logout0 msPassed
And I search for data message with id "fake-id"0 msPassed
And I search for data message with id "fake-id"0 msPassed
And I select account "kapua-sys"0 msPassed
And I select the domain "datastore"0 msPassed
And I select the domain "device"0 msPassed
And No exception was thrown0 msPassed
And Scope with ID 10 msPassed
And The device "test-device-1"0 msPassed
Given I login as user with name "kapua-sys" and password "kapua-password"1 msPassed
Scenario: Add datastore permissions to the role14 msPassed
Then I don't find message0 msPassed
Then I login as user with name "user1" and password "User@10031995"0 msPassed
When I login as user with name "user1" and password "User@10031995"0 msPassed