Test Result : Scenario: Executing Job When Device Connected After The Specified Start Date And Time

2 failures , 26 skipped
38 tests
Took 4 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 A regular trigger creator with the name "TestSchedule1" is created0 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 find scheduler properties with name "Device Connect"0 msSkipped
And I get the KuraMock device0 msPassed
And I logout0 msSkipped
And I restart the Kura Mock0 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 second0 msPassed
And I wait 1 second0 msPassed
And I wait 15 seconds0 msSkipped
And I wait 2 seconds0 msSkipped
And Search for step definition with the name "Command Execution"0 msSkipped
And The trigger is set to start today at 00:00.0 msSkipped
And The type of the last event is "COMMAND"0 msSkipped
And The type of the last event is "DEATH"0 msSkipped
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 start the Kura Mock0 msPassed
Scenario: Executing Job When Device Connected After The Specified Start Date And Time2 msFailed
Then Device status is "CONNECTED"0 msPassed
Then Device status is "DISCONNECTED"0 msPassed
Then I count 10 msSkipped
Then I create a new trigger from the existing creator with previously defined date properties0 msSkipped
Then I find 2 device event0 msSkipped
Then I find 4 device events0 msSkipped
Then No exception was thrown0 msSkipped
When Device is connected0 msSkipped
When Device is connected0 msFixed
When I create a new step entity from the existing creator0 msSkipped
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 search for events from device "rpione3" in account "kapua-sys"1 msFailed
When I search for events from device "rpione3" in account "kapua-sys"0 msSkipped
When KuraMock is disconnected1 msPassed