Test Result : Scenario: Restarting job with valid Command Execution and Package Install steps and multiple devices two times

2 failures , 24 skipped
33 tests
Took 3 ms.

All Tests

Test nameDurationStatus
And Command pwd is executed1 msFailed
And I add targets to job0 msSkipped
And I confirm job target has step index 1 and status "PROCESS_OK"0 msSkipped
And I confirm job target has step index 1 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 step entities from the existing creator0 msSkipped
And I create a regular step creator with the name "TestStep1" and properties0 msSkipped
And I get the KuraMock devices0 msPassed
And I logout0 msSkipped
And I search for step definition with the name0 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 Packages are requested and 1 package is received0 msSkipped
And Packages are requested and 2 packages are received0 msSkipped
And The type of the last event is "DEPLOY"0 msSkipped
Given I add 2 devices to Kura Mock0 msPassed
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
Scenario: Restarting job with valid Command Execution and Package Install steps and multiple devices two times2 msFailed
Then Devices status is "CONNECTED"0 msPassed
Then I restart a job0 msSkipped
Then I restart a job0 msSkipped
Then KuraMock is disconnected0 msSkipped
Then No exception was thrown0 msSkipped
When Devices are connected0 msPassed
When I login as user with name "kapua-sys" and password "kapua-password"0 msPassed
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
When I search events from devices in account "kapua-sys" and 3 events are found0 msSkipped
When I search events from devices in account "kapua-sys" and 3 or more events are found0 msSkipped