Test Result : Scenario: Restarting job with valid Asset Write step and multiple devices two times

0 failures
34 tests
Took 46 ms.

All Tests

Test nameDurationStatus
And A regular step creator with the name "TestStep" and the following properties0 msPassed
And Asset with name "asset1" and channel with name "channel1" and value 123 are received0 msPassed
And Asset with name "asset1" and channel with name "channel1" and value 1233 are received0 msPassed
And Device assets are requested0 msPassed
And Device assets are requested0 msPassed
And I add targets to job0 msPassed
And I confirm job target has step index 0 and status "PROCESS_OK"0 msPassed
And I confirm job target has step index 0 and status "PROCESS_OK"0 msPassed
And I confirm the executed job is finished0 msPassed
And I confirm the executed job is finished0 msPassed
And I get the KuraMock devices0 msPassed
And I logout1 msPassed
And I search events from devices in account "kapua-sys" and 2 events is found0 msPassed
And I search events from devices in account "kapua-sys" and 3 or more events is found0 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 Search for step definition with the name "Asset Write"0 msPassed
And The type of the last event is "ASSET"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 query for the job with the name "TestJob" and I find it0 msPassed
Scenario: Restarting job with valid Asset Write step and multiple devices two times44 msPassed
Then Devices status is "CONNECTED"0 msPassed
Then I restart a job0 msPassed
Then I restart a job0 msPassed
Then KuraMock is disconnected1 msPassed
When Devices are connected0 msPassed
When I create a new step entity from the existing creator0 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 10 msPassed
When I query for the execution items for the current job and I count 20 msPassed