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

2 failures , 22 skipped
32 tests
Took 3 ms.

All Tests

Test nameDurationStatus
And A regular step creator with the name "TestStep" and the following properties0 msSkipped
And Device is connected0 msPassed
And I confirm job target has step index 0 and status "PROCESS_OK"0 msSkipped
And I confirm job target has step index 0 and status "PROCESS_OK"0 msSkipped
And I confirm the executed job is finished0 msSkipped
And I confirm the executed job is finished0 msSkipped
And I create a new job target item0 msSkipped
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 msSkipped
And I search for events from device "rpione3" in account "kapua-sys"0 msSkipped
And I search for events from device "rpione3" in account "kapua-sys"1 msFailed
And I select account "kapua-sys"0 msPassed
And I wait 1 second0 msPassed
And KuraMock is disconnected0 msSkipped
And Search for step definition with the name "Package Uninstall"0 msSkipped
And The type of the last event is "DEPLOY"0 msSkipped
Given I create a job with the name "TestJob"0 msSkipped
Given I query for the job with the name "TestJob" and I find it0 msSkipped
Given I query for the job with the name "TestJob" and I find it0 msSkipped
Given I start the Kura Mock0 msPassed
Scenario: Restarting a job with valid Package Uninstall step two times2 msFailed
Then Device status is "CONNECTED"0 msPassed
Then I find 2 device events0 msSkipped
Then I find 2 or more device events0 msSkipped
Then I restart a job0 msSkipped
Then I restart a job0 msSkipped
Then Packages are requested and 0 packages are received0 msSkipped
Then Packages are requested and 1 package is received0 msPassed
When I create a new step entity from the existing creator0 msSkipped
When I query for the execution items for the current job and I count 1 or more0 msSkipped
When I query for the execution items for the current job and I count 2 or more0 msSkipped