Test Result : Scenario: Add admin role to the user

0 failures
44 tests
Took 15 ms.

All Tests

Test nameDurationStatus
And I add access role "admin" to user "TestUser"0 msPassed
And I add credentials0 msPassed
And I count 10 msPassed
And I create a device with name "TestDevice"0 msPassed
And I create a group with name "TestGroup"0 msPassed
And I create a job with the name "TestJob"0 msPassed
And I create endpoint with schema "TestEndpoint", domain "com" and port 80000 msPassed
And I create tag with name "Tag" without description0 msPassed
And I create the access info entity0 msPassed
And I create the following role0 msPassed
And I create user with name "TestUser"0 msPassed
And I create user with name "user"0 msPassed
And I delete the device with the clientId "TestDevice"0 msPassed
And I delete the endpoint with schema "TestEndpoint1", domain "com" and port 80000 msPassed
And I delete the group with name "TestGroup1"0 msPassed
And I delete the role with name "test_role"0 msPassed
And I delete the tag with name "Tag1"0 msPassed
And I find a job with name "TestJob"0 msPassed
And I find a role with name "admin"0 msPassed
And I find a role with name "test_role"0 msPassed
And I find a tag with name "Tag"0 msPassed
And I find device with clientId "TestDevice"0 msPassed
And I find the group with name "TestGroup"0 msPassed
And I find user with name "TestUser"0 msPassed
And I find user with name "user"0 msPassed
And I login as user with name "TestUser" and password "User@10031995"0 msPassed
And I logout0 msPassed
And I logout0 msPassed
And I search for the permissions of role "admin"0 msPassed
And I search for user with name "TestUser"0 msPassed
And I try to delete the job with name "TestJob1"0 msPassed
And I try to delete user "user1"0 msPassed
And I try to edit device to clientId "TestDevice1"0 msPassed
And I try to edit endpoint schema to "TestEndpoint1"0 msPassed
And I try to edit job to name "TestJob1"0 msPassed
And I try to edit user to name "user1"0 msPassed
And I try to find endpoint with schema "TestEndpoint", domain "com" and port 80000 msPassed
And I update the group name to "TestGroup1"0 msPassed
And I update the last created role name to "role1"0 msPassed
And Name of tag "Tag" is changed into "Tag1"0 msPassed
And Scope with ID 10 msPassed
Given I login as user with name "kapua-sys" and password "kapua-password"0 msPassed
Scenario: Add admin role to the user15 msPassed
Then No exception was thrown0 msPassed