Test Result : Scenario: Restarting job with invalid Package Uninstall and Asset Write steps and multiple devices two times

0 failures
38 tests
Took 46 ms.

All Tests

Test nameDurationStatus
And Asset with name "asset1" and channel with name "channel1" and value 123 are received0 msFixed
And Asset with name "asset1" and channel with name "channel1" and value 123 are received0 msFixed
And Device assets are requested0 msFixed
And Device assets are requested0 msFixed
And I add targets to job0 msFixed
And I confirm job target has step index 0 and status "PROCESS_FAILED"0 msFixed
And I confirm job target has step index 0 and status "PROCESS_FAILED"0 msFixed
And I confirm the executed job is finished0 msFixed
And I confirm the executed job is finished0 msFixed
And I create a regular step creator with the name "TestStep1" and properties0 msFixed
And I get the KuraMock devices0 msPassed
And I logout0 msFixed
And I search for step definitions with the name0 msFixed
And I search the database for created job steps and I find 20 msFixed
And I select account "kapua-sys"0 msPassed
And I wait 1 second0 msPassed
And I wait 1 second0 msPassed
And I wait 1 second0 msPassed
And Packages are requested and 1 package is received0 msFixed
And Packages are requested and 1 package is received0 msFixed
And The type of the last event is "ASSET"0 msFixed
Given I add 2 devices to Kura Mock0 msPassed
Given I create a job with the name "TestJob"0 msFixed
Given I query for the job with the name "TestJob" and I find it0 msFixed
Given I query for the job with the name "TestJob" and I find it0 msFixed
Scenario: Restarting job with invalid Package Uninstall and Asset Write steps and multiple devices two times45 msFixed
Then Devices status is "CONNECTED"0 msPassed
Then I restart a job0 msFixed
Then I restart a job0 msFixed
Then KuraMock is disconnected1 msFixed
Then No exception was thrown0 msFixed
When Devices are connected0 msPassed
When I create a new step entities from the existing creator0 msFixed
When I login as user with name "kapua-sys" and password "kapua-password"0 msPassed
When I query for the execution items for the current job and I count 10 msFixed
When I query for the execution items for the current job and I count 20 msFixed
When I search events from devices in account "kapua-sys" and 3 events is found0 msFixed
When I search events from devices in account "kapua-sys" and 3 events is found0 msFixed