Test Result : Scenario: Add scheduler permissions to the role

0 failures
31 tests
Took 7 ms.

All Tests

Test nameDurationStatus
And A regular trigger creator with the name "TestSchedule" and following properties0 msPassed
And I add access role "test_role" to user "user1"0 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 delete the last created role permissions0 msPassed
And I expect the exception "SubjectUnauthorizedException" with the text "Missing permission: scheduler:write:"0 msPassed
And I find scheduler properties with name "Interval Job"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 "job"0 msPassed
And I select the domain "scheduler"0 msPassed
And I try to create a new trigger entity from the existing creator0 msPassed
And I try to create a new trigger entity from the existing creator0 msPassed
And I try to delete last created trigger0 msPassed
And I try to edit trigger name "TestSchedule1"0 msPassed
And Scope with ID 10 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
Scenario: Add scheduler permissions to the role7 msPassed
Then An exception was thrown0 msPassed
Then I login as user with name "user1" and password "User@10031995"0 msPassed
Then No exception was thrown0 msPassed