Test Result : Scenario: Restarting Job With Valid "Command Execution", multiple devices And Step Index=0 For The Second Time

2 failures , 34 skipped
43 tests
Took 3 ms.

All Tests

Test nameDurationStatus
And A new job target item0 msSkipped
And A regular step creator with the name "TestStep" and the following properties0 msSkipped
And Command pwd is executed1 msFailed
And Device status is "DISCONNECTED"0 msSkipped
And I configure the job service0 msSkipped
And I configure the job step service0 msSkipped
And I configure the job target service0 msSkipped
And I confirm the executed job is finished0 msSkipped
And I confirm the executed job is finished0 msSkipped
And I confirm the step index is 0 and status is "PROCESS_OK"0 msSkipped
And I confirm the step index is 0 and status is "PROCESS_OK"0 msSkipped
And I create a new step entity from the existing creator0 msSkipped
And I get the KuraMock devices0 msPassed
And I logout0 msSkipped
And I search for the last job target in the database0 msSkipped
And I search for the last job target in the database0 msSkipped
And I select account "kapua-sys"0 msPassed
And I wait 1 seconds0 msSkipped
And I wait 1 seconds0 msFixed
And I wait 15 seconds0 msSkipped
And I wait 15 seconds0 msSkipped
And Search for step definition with the name "Command Execution"0 msSkipped
And The type of the last event is "COMMAND"0 msSkipped
And The type of the last event is "COMMAND"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"0 msSkipped
Given I query for the job with the name "TestJob"0 msSkipped
Scenario: Restarting Job With Valid "Command Execution", multiple devices And Step Index=0 For The Second Time2 msFailed
Then Devices status is "CONNECTED"0 msPassed
Then I count 10 msSkipped
Then I count 20 msSkipped
Then I find 2 device event0 msSkipped
Then I find 2 device event0 msSkipped
Then I restart a job0 msSkipped
Then I restart a job0 msSkipped
Then KuraMock is disconnected0 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 job0 msSkipped
When I query for the execution items for the current job0 msSkipped
When I search for events from device "device0" in account "kapua-sys"0 msSkipped
When I search for events from device "device0" in account "kapua-sys"0 msSkipped