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

0 failures
36 tests
Took 31 ms.

All Tests

Test nameDurationStatus
And A bundle named slf4j.api with id 34 and version 1.7.21 is present and RESOLVED0 msFixed
And A new job target item0 msFixed
And A regular step creator with the name "TestStep1" and the following properties0 msFixed
And A regular step creator with the name "TestStep2" and the following properties0 msFixed
And Bundles are requested0 msFixed
And Device is connected0 msFixed
And I confirm the executed job is finished0 msFixed
And I confirm the step index is 0 and status is "PROCESS_FAILED"0 msFixed
And I create a new step entity from the existing creator0 msFixed
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 msFixed
And I search for the last job target in the database0 msFixed
And I search the database for created job steps and I find 20 msFixed
And I select account "kapua-sys"0 msPassed
And I start a job0 msFixed
And I wait 1 second0 msPassed
And I wait 1 second0 msPassed
And I wait 2 seconds0 msFixed
And KuraMock is disconnected1 msFixed
And Package named org.eclipse.kura.example.beacon with version 1.0.300 is received0 msFixed
And Packages are requested and 1 package is received0 msPassed
And Packages are requested and 1 package is received0 msPassed
And Search for step definition with the name "Package Uninstall"0 msFixed
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 msFixed
Given I start the Kura Mock0 msPassed
Scenario: Starting a job with Package Uninstall and Bundle Start steps31 msFixed
Then Device status is "CONNECTED"0 msPassed
Then Device status is "DISCONNECTED"0 msPassed
Then Search for step definition with the name "Bundle Start"0 msFixed
When Device is connected0 msPassed
When I create a new step entity from the existing creator0 msFixed
When I query for the execution items for the current job and I count 10 msFixed
When I start the Kura Mock0 msFixed
When KuraMock is disconnected0 msPassed