And Devices are connected | 0 ms | Passed |
And Devices status is "CONNECTED" | 0 ms | Passed |
And I add targets to job | 0 ms | Passed |
And I confirm job target has step index 1 and status "PROCESS_OK" | 0 ms | Passed |
And I confirm the executed job is finished | 0 ms | Passed |
And I confirm the step index is different than 1 and status is "PROCESS_AWAITING" | 0 ms | Passed |
And I count 2 | 0 ms | Passed |
And I create a job with the name "TestJob" | 0 ms | Passed |
And I create a new step entities from the existing creator | 0 ms | Passed |
And I create a regular step creator with the name "TestStep1" and properties | 0 ms | Passed |
And I get the KuraMock devices | 0 ms | Passed |
And I login as user with name "kapua-sys" and password "kapua-password" | 0 ms | Passed |
And I logout | 0 ms | Passed |
And I search for step definition with the name | 0 ms | Passed |
And I search for the job targets in database | 0 ms | Passed |
And I search for the last job target in the database | 0 ms | Passed |
And I search the database for created job steps and I find 2 | 0 ms | Passed |
And I select account "kapua-sys" | 0 ms | Passed |
And I start a job | 0 ms | Passed |
And I start a job | 0 ms | Passed |
And I stop the job | 0 ms | Passed |
And I wait 1 second | 0 ms | Passed |
And I wait 10 seconds | 0 ms | Passed |
And I wait for 10 milliseconds for processes to settle down | 0 ms | Passed |
And Packages are requested and 1 package is received | 0 ms | Passed |
And Packages are requested and 2 packages are received | 0 ms | Passed |
And The type of the last event is "DEPLOY" | 0 ms | Passed |
Given I add 2 devices to Kura Mock | 0 ms | Passed |
Scenario: Stop job with multiple targets and Asset Write and Package Install steps and one target | 64 ms | Passed |
Then Asset with name "asset1" and channel with name "channel1" and value 123 are received | 0 ms | Passed |
Then Asset with name "asset1" and channel with name "channel1" and value 1233 are received | 0 ms | Passed |
Then I find 3 device events | 0 ms | Passed |
Then KuraMock is disconnected | 0 ms | Passed |
Then No exception was thrown | 0 ms | Passed |
When Device assets are requested | 0 ms | Passed |
When Device assets are requested | 0 ms | Passed |
When I query for the execution items for the current job and I count 2 or more | 0 ms | Passed |
When I search for events from device "device0" in account "kapua-sys" | 0 ms | Passed |