Test Result : Scenario: Restarting a job with Package Uninstall and Bundle Start steps

2 failures , 15 skipped
28 tests
Took 5 ms.

All Tests

Test nameDurationStatus
And A new job target item2 msFailed
And A regular step creator with the name "TestStep1" and the following properties0 msSkipped
And A regular step creator with the name "TestStep2" and the following properties0 msSkipped
And I confirm the executed job is finished0 msSkipped
And I create a job with the name "TestJob"0 msPassed
And I create a new step entity from the existing creator0 msSkipped
And I create a new step entity from the existing creator0 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 query for the execution items for the current job and I count 10 msSkipped
And I query for the job with the name "TestJob" and I find it0 msSkipped
And I search for the last job target in the database0 msSkipped
And I search the database for created job steps and I find 20 msSkipped
And I select account "kapua-sys"0 msPassed
And I wait 1 second0 msPassed
And I wait 1 second0 msPassed
And I wait 2 seconds0 msSkipped
And Search for step definition with the name "Bundle Start"0 msSkipped
And Search for step definition with the name "Package Uninstall"0 msSkipped
Given I start the Kura Mock0 msPassed
Scenario: Restarting a job with Package Uninstall and Bundle Start steps3 msFailed
Then Device status is "CONNECTED"0 msPassed
Then Device status is "DISCONNECTED"0 msPassed
Then I confirm the step index is 0 and status is "PROCESS_FAILED"0 msSkipped
When Device is connected0 msPassed
When I restart a job0 msSkipped
When KuraMock is disconnected0 msPassed