Test Result : Scenario: Add device event permissions to the role

0 failures
32 tests
Took 20 ms.

All Tests

Test nameDurationStatus
And A birth message from device "device_1"0 msPassed
And I add access role "test_role" to user "user1"0 msPassed
And I add credentials0 msPassed
And I configure the device registry service0 msPassed
And I configure user service0 msPassed
And I create the access info entity0 msPassed
And I create the following role1 msPassed
And I create the following role permissions0 msPassed
And I create the following role permissions0 msPassed
And I create the following role permissions0 msPassed
And I expect the exception "SubjectUnauthorizedException" with the text "Missing permission: device_event:read:"0 msPassed
And I logout0 msPassed
And I logout0 msPassed
And I logout0 msPassed
And I logout0 msPassed
And I select account "kapua-sys"0 msPassed
And I select the domain "account"0 msPassed
And I select the domain "device"0 msPassed
And I select the domain "device_event"0 msPassed
And No exception was thrown0 msPassed
And Scope with ID 10 msPassed
And The type of the last event is "BIRTH"0 msPassed
Given I login as user with name "kapua-sys" and password "kapua-password"0 msPassed
Given I login as user with name "kapua-sys" and password "kapua-password"0 msPassed
Given I login as user with name "user1" and password "User@10031995"0 msPassed
Given User A0 msPassed
Scenario: Add device event permissions to the role19 msPassed
Then An exception was thrown0 msPassed
Then I find 1 device events0 msPassed
Then I login as user with name "user1" and password "User@10031995"0 msPassed
When I search for events from device "device_1" in account "kapua-sys"0 msPassed
When I search for events from device "device_1" in account "kapua-sys"0 msPassed