Test Result : Scenario: Restarting a job with valid Package Uninstall step and multiple devices two times

0 failures
30 tests
Took 34 ms.

All Tests

Test nameDurationStatus
And A regular step creator with the name "TestStep" and the following properties0 msPassed
And Devices are connected0 msPassed
And I add targets to job0 msFixed
And I confirm job target has step index 0 and status "PROCESS_OK"0 msFixed
And I confirm job target has step index 0 and status "PROCESS_OK"0 msFixed
And I confirm the executed job is finished0 msFixed
And I confirm the executed job is finished0 msFixed
And I get the KuraMock device0 msPassed
And I login as user with name "kapua-sys" and password "kapua-password"0 msPassed
And I logout0 msFixed
And I search events from devices in account "kapua-sys" and 2 events are found0 msPassed
And I search events from devices in account "kapua-sys" and 2 or more events are found0 msFixed
And I select account "kapua-sys"0 msPassed
And I wait 1 second0 msPassed
And KuraMock is disconnected0 msFixed
And Packages are requested and 0 packages are received0 msFixed
And Search for step definition with the name "Package Uninstall"0 msPassed
And The type of the last event is "DEPLOY"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 a job with valid Package Uninstall step and multiple devices two times34 msFixed
Then Devices status is "CONNECTED"0 msPassed
Then I restart a job0 msFixed
Then I restart a job0 msFixed
Then Packages are requested and 1 package is received0 msPassed
When I create a new step entity from the existing creator0 msFixed
When I query for the execution items for the current job and I count 1 or more0 msFixed
When I query for the execution items for the current job and I count 2 or more0 msFixed