Test Result : Scenario: Executing Job When Device Connected After End Date And Time

0 failures
38 tests
Took 30 ms.

All Tests

Test nameDurationStatus
And A new job target item0 msFixed
And A regular step creator with the name "TestStep" and the following properties0 msFixed
And A regular trigger creator with the name "TestSchedule4" is created0 msFixed
And I confirm the step index is 0 and status is "PROCESS_AWAITING"1 msFixed
And I find scheduler properties with name "Device Connect"0 msFixed
And I get the KuraMock device0 msPassed
And I logout0 msFixed
And I restart the Kura Mock0 msFixed
And I search for the last job target in the database0 msFixed
And I select account "kapua-sys"0 msPassed
And I wait 1 second0 msPassed
And I wait 1 second0 msPassed
And I wait 10 seconds0 msFixed
And I wait 2 seconds0 msFixed
And Search for step definition with the name "Command Execution"0 msFixed
And The trigger is set to end on 15-10-2018 at 6:00.1 msFixed
And The trigger is set to start on 10-10-2018 at 6:00.0 msFixed
And The type of the last event is "BIRTH"0 msFixed
And The type of the last event is "DEATH"0 msFixed
Given I create a job with the name "TestJob"0 msFixed
Given I query for the job with the name "TestJob"1 msFixed
Given I start the Kura Mock0 msPassed
Scenario: Executing Job When Device Connected After End Date And Time27 msFixed
Then Device status is "CONNECTED"0 msPassed
Then Device status is "DISCONNECTED"0 msPassed
Then I count 00 msFixed
Then I create a new trigger from the existing creator with previously defined date properties0 msFixed
Then I find 2 device event0 msFixed
Then I find 3 device events0 msFixed
Then No exception was thrown0 msFixed
When Device is connected0 msFixed
When Device is connected0 msFixed
When I create a new step entity from the existing creator0 msFixed
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 msFixed
When I search for events from device "rpione3" in account "kapua-sys"0 msFixed
When I search for events from device "rpione3" in account "kapua-sys"0 msFixed
When KuraMock is disconnected0 msPassed