And A regular trigger creator with the name "TestSchedule" and following properties | 0 ms | Passed |
And I add access role "test_role" to user "user1" | 0 ms | Passed |
And I add credentials | 0 ms | Passed |
And I configure user service | 0 ms | Passed |
And I create the access info entity | 0 ms | Passed |
And I create the following role | 0 ms | Passed |
And I create the following role permissions | 0 ms | Passed |
And I create the following role permissions | 0 ms | Passed |
And I create user with name "user1" | 0 ms | Passed |
And I delete the last created role permissions | 0 ms | Passed |
And I expect the exception "SubjectUnauthorizedException" with the text "Missing permission: scheduler:write:" | 0 ms | Passed |
And I find scheduler properties with name "Interval Job" | 0 ms | Passed |
And I logout | 0 ms | Passed |
And I logout | 0 ms | Passed |
And I logout | 0 ms | Passed |
And I logout | 0 ms | Passed |
And I select account "kapua-sys" | 0 ms | Passed |
And I select the domain "job" | 0 ms | Passed |
And I select the domain "scheduler" | 0 ms | Passed |
And I try to create a new trigger entity from the existing creator | 0 ms | Passed |
And I try to create a new trigger entity from the existing creator | 0 ms | Passed |
And I try to delete last created trigger | 0 ms | Passed |
And I try to edit trigger name "TestSchedule1" | 0 ms | Passed |
And Scope with ID 1 | 0 ms | Passed |
Given I login as user with name "kapua-sys" and password "kapua-password" | 0 ms | Passed |
Given I login as user with name "kapua-sys" and password "kapua-password" | 0 ms | Passed |
Given I login as user with name "user1" and password "User@10031995" | 0 ms | Passed |
Scenario: Add scheduler permissions to the role | 13 ms | Passed |
Then An exception was thrown | 0 ms | Passed |
Then I login as user with name "user1" and password "User@10031995" | 0 ms | Passed |
Then No exception was thrown | 0 ms | Passed |