Test Result : Scenario: Restarting job with Package Download/Install and Bundle Start steps and multiple devices

0 failures
59 tests
Took 49 ms.

All Tests

Test nameDurationStatus
And A new job target item0 msPassed
And A regular step creator with the name "TestStep" and the following properties0 msPassed
And A regular step creator with the name "TestStep1" and the following properties0 msPassed
And A regular step creator with the name "TestStep1" and the following properties0 msPassed
And A regular step creator with the name "TestStep2" and the following properties0 msPassed
And Device is connected0 msPassed
And I add targets to job0 msPassed
And I confirm the executed job is finished0 msPassed
And I confirm the executed job is finished0 msPassed
And I confirm the step index is 0 and status is "PROCESS_FAILED"0 msPassed
And I create a job with the name "TestJob"0 msPassed
And I create a new step entity from the existing creator0 msPassed
And I create a new step entity from the existing creator0 msPassed
And I get the KuraMock device0 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 login as user with name "kapua-sys" and password "kapua-password"0 msPassed
And I logout0 msPassed
And I logout0 msPassed
And I query for the job with the name "TestJob" and I find it0 msPassed
And I restart a job0 msPassed
And I restart a job0 msPassed
And I search for the last job target in the database0 msPassed
And I search for the last job target in the database0 msPassed
And I search the database for created job steps and I find 20 msPassed
And I search the database for created job steps and I find 20 msPassed
And I select 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 I wait 1 second0 msPassed
And I wait 2 seconds0 msPassed
And I wait 2 seconds0 msPassed
And Search for step definition with the name "Bundle Start"0 msPassed
And Search for step definition with the name "Bundle Start"0 msPassed
And Search for step definition with the name "Package Download / Install"0 msPassed
And Search for step definition with the name "Package Download / Install"0 msPassed
Given I add 2 devices to Kura Mock0 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 start the Kura Mock0 msPassed
Scenario: Restarting job with Package Download/Install and Bundle Start steps and multiple devices20 msPassed
Scenario: Restarting job with Package Download/Install and Bundle Start steps and multiple devices29 msPassed
Then Device status is "CONNECTED"0 msPassed
Then Device status is "CONNECTED"1 msPassed
Then Device status is "DISCONNECTED"0 msPassed
Then Device status is "DISCONNECTED"0 msPassed
Then I confirm the step index is 0 and status is "PROCESS_FAILED"0 msPassed
Then I count 20 msPassed
Then No exception was thrown0 msPassed
When Devices are connected0 msPassed
When I count the targets in the current scope0 msPassed
When I create a new step entity from the existing creator0 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 10 msPassed
When KuraMock is disconnected0 msPassed
When KuraMock is disconnected0 msPassed