Test Result : Scenario: Delete items by the datastore ID

0 failures
33 tests
Took 17 ms.

All Tests

Test nameDurationStatus
And Account for "kapua-sys"0 msPassed
And All indices are deleted0 msPassed
And I prepare a random message and save it as "RandomDataMessage"0 msPassed
And I refresh all database indices0 msPassed
And I refresh all database indices0 msPassed
And I refresh all database indices0 msPassed
And I refresh all database indices0 msPassed
And I refresh all database indices0 msPassed
And I store the message "RandomDataMessage" and remember its ID as "RandomDataMessageId"0 msPassed
And The device "test-device-1"0 msPassed
Given All indices are deleted0 msPassed
Given I login as user with name "kapua-sys" and password "kapua-password"0 msPassed
Scenario: Delete items by the datastore ID16 msPassed
Then Message "ShouldBeNull" is null0 msPassed
Then The datastore message "DataStoreMessage" matches the prepared message "RandomDataMessage"0 msPassed
Then The value of "AccountChannelCount" is exactly 00 msPassed
Then The value of "AccountClientCount" is exactly 00 msPassed
Then The value of "AccountMetricCount" is exactly 00 msPassed
Then There is exactly 1 channel in the list "AccountChannelList"0 msPassed
Then There is exactly 1 client in the list "AccountClientlList"0 msPassed
Then There is exactly 12 metrics in the list "AccountMetriclList"0 msPassed
When I count the current account channels and store the count as "AccountChannelCount"0 msPassed
When I count the current account clients and store the count as "AccountClientCount"0 msPassed
When I count the current account metrics and store the count as "AccountMetricCount"0 msPassed
When I delete all channels from the list "AccountChannelList"1 msPassed
When I delete all clients from the list "AccountClientlList"0 msPassed
When I delete all metrics from the list "AccountMetriclList"0 msPassed
When I delete the datastore message with ID "RandomDataMessageId"0 msPassed
When I query for the current account channels and store them as "AccountChannelList"0 msPassed
When I query for the current account clients and store them as "AccountClientlList"0 msPassed
When I query for the current account metrics and store them as "AccountMetriclList"0 msPassed
When I search for a data message with ID "RandomDataMessageId" and remember it as "DataStoreMessage"0 msPassed
When I search for a data message with ID "RandomDataMessageId" and remember it as "ShouldBeNull"0 msPassed