Test Result : Scenario: Add Scheduler permissions to the role in child account

0 failures
36 tests
Took 15 ms.

All Tests

Test nameDurationStatus
And A regular trigger creator with the name "TestSchedule" and following properties0 msPassed
And I add access role "Role1" to user "SubUser" in account "SubAccount"0 msPassed
And I add credentials0 msPassed
And I configure user service0 msPassed
And I count 30 msPassed
And I create an account with name "SubAccount", organization name "organization" and email adress "organization@gmail.com"0 msPassed
And I create role "Role1" in account "SubAccount"0 msPassed
And I create the access info entity in account "SubAccount"0 msPassed
And I create the following role permissions in account "SubAccount"0 msPassed
And I create the following role permissions in account "SubAccount"0 msPassed
And I create user with name "SubUser" in account "SubAccount"0 msPassed
And I expect the exception "SubjectUnauthorizedException" with the text "Missing permission: job:read:-1:*"0 msPassed
And I find account with name "SubAccount"0 msPassed
And I find scheduler properties with name "Interval Job"0 msPassed
And I login as user with name "SubUser" and password "User@10031995"0 msPassed
And I login as user with name "SubUser" and password "User@10031995"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 the permissions of found role "Role1" in account "SubAccount"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 delete last created trigger0 msPassed
And I try to edit trigger name "TestSchedule1"1 msPassed
And I try to find role with name "Role1" in account "SubAccount"0 msPassed
And No exception was thrown0 msPassed
And Scope with ID 10 msPassed
And The account with name "kapua-sys" has 1 subaccount0 msPassed
Given I login as user with name "kapua-sys" and password "kapua-password"0 msPassed
Scenario: Add Scheduler permissions to the role in child account15 msPassed
Then An exception was thrown0 msPassed
Then Role with name "Role1" in account "SubAccount" is found0 msPassed
When I find scheduler properties with name "Interval Job"0 msPassed