Test Result : Scenario: Restarting a job with invalid Package Uninstall step two times

0 failures
34 tests
Took 36 ms.

All Tests

Test nameDurationStatus
And A regular step creator with the name "TestStep" and the following properties1 msPassed
And Devices is connected0 msPassed
And I confirm job target has step index 0 and status "PROCESS_FAILED"0 msPassed
And I confirm job target has step index 0 and status "PROCESS_FAILED"0 msPassed
And I confirm the executed job is finished0 msPassed
And I confirm the executed job is finished0 msPassed
And I create a new job target item0 msPassed
And I get the KuraMock devices0 msPassed
And I login as user with name "kapua-sys" and password "kapua-password"0 msPassed
And I logout0 msPassed
And I search for events from device "rpione3" in account "kapua-sys"0 msPassed
And I search for events from device "rpione3" in account "kapua-sys"0 msPassed
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 KuraMock is disconnected0 msPassed
And Packages are requested and 1 package is received0 msPassed
And Search for step definition with the name "Package Uninstall"0 msPassed
And The type of the last event is "DEPLOY"0 msPassed
Given I create a job with the name "TestJob"0 msPassed
Given I query for the job with the name "TestJob" and I find it0 msPassed
Given I query for the job with the name "TestJob" and I find it0 msPassed
Given I start the Kura Mock0 msPassed
Scenario: Restarting a job with invalid Package Uninstall step two times35 msPassed
Then Device status is "CONNECTED"0 msPassed
Then I find 2 device events0 msPassed
Then I find 2 device events0 msPassed
Then I restart a job0 msPassed
Then I restart a job0 msPassed
Then Packages are requested and 1 package is received0 msPassed
When I create a new step entity from the existing creator0 msPassed
When I query for the execution items for the current job and I count 10 msPassed
When I query for the execution items for the current job and I count 20 msPassed