From 55e41f604677371525f4a17d539036285e8bd2b2 Mon Sep 17 00:00:00 2001 From: Markus Tacker Date: Mon, 28 Aug 2023 14:12:16 +0200 Subject: [PATCH 1/2] test(e2e): add dely for historical data --- features/DeviceToWebsocket.feature.md | 2 ++ features/HistoricalRequest.feature.md | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/features/DeviceToWebsocket.feature.md b/features/DeviceToWebsocket.feature.md index 05e60a76b..12e08ead5 100644 --- a/features/DeviceToWebsocket.feature.md +++ b/features/DeviceToWebsocket.feature.md @@ -8,6 +8,8 @@ needs: > Device messages published on nRF Cloud should be delivered to the websocket > API + + ## Verify a device sends a message to nRF Cloud, then I can receive the message via website Given I store `$millis()` into `ts` diff --git a/features/HistoricalRequest.feature.md b/features/HistoricalRequest.feature.md index b83baccbe..5ff0645df 100644 --- a/features/HistoricalRequest.feature.md +++ b/features/HistoricalRequest.feature.md @@ -36,6 +36,8 @@ And the device `${fingerprint_deviceId}` publishes this message to the topic | SOLAR | 3.58041 | 90000 | | SOLAR | 3.24925 | 120000 | + + ## Verify I can query gain historical device data When I connect to the websocket using fingerprint `${fingerprint}` @@ -112,6 +114,8 @@ And the device `${fingerprint_deviceId}` publishes this message to the topic | BATTERY | 21 | 90000 | | BATTERY | 22 | 120000 | + + ## Verify I can query battery historical device data When I connect to the websocket using fingerprint `${fingerprint}` @@ -177,6 +181,8 @@ Soon I should receive a message on the websocket that matches } ``` + + ## Request historical data for a week When I connect to the websocket using fingerprint `${fingerprint}` @@ -250,6 +256,8 @@ message | 63.42006573 | 10.44087654 | 528 | 90000 | | 63.42129386 | 10.44011945 | 524 | 120000 | + + ## Verify I can query location historical device data When I connect to the websocket using fingerprint `${fingerprint}` From a926b2eba6d039a33b8b9868db53c2e73edaa336 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 28 Aug 2023 12:32:59 +0000 Subject: [PATCH 2/2] chore(deps): update dependency @nordicsemiconductor/firmware-ci-device-helpers to v14.0.184 --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 95b88e9e0..82ef552e4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,7 +40,7 @@ "@nordicsemiconductor/bdd-markdown": "5.6.7", "@nordicsemiconductor/cloudformation-helpers": "8.0.0", "@nordicsemiconductor/eslint-config-asset-tracker-cloud-typescript": "16.0.15", - "@nordicsemiconductor/firmware-ci-device-helpers": "14.0.183", + "@nordicsemiconductor/firmware-ci-device-helpers": "14.0.184", "@swc/cli": "0.1.62", "@swc/core": "1.3.80", "@swc/jest": "0.2.29", @@ -9266,9 +9266,9 @@ } }, "node_modules/@nordicsemiconductor/firmware-ci-device-helpers": { - "version": "14.0.183", - "resolved": "https://registry.npmjs.org/@nordicsemiconductor/firmware-ci-device-helpers/-/firmware-ci-device-helpers-14.0.183.tgz", - "integrity": "sha512-YV3CwZepKPbvgagpYhkwU2o44D8QjIgaeqf80/4GEFDVCTMRsDLdWFyfzwcAOBvI0DDNY/Wmuu3VQR8FE28NoQ==", + "version": "14.0.184", + "resolved": "https://registry.npmjs.org/@nordicsemiconductor/firmware-ci-device-helpers/-/firmware-ci-device-helpers-14.0.184.tgz", + "integrity": "sha512-3drP33GP6tbT8yS4bHNkcQ6M/zqf98W/XFuHdxy7tFsI1aZQs31IMjUyye8DWlRGdTN6kBd/WOSKr41RNHpDdQ==", "dev": true, "dependencies": { "@serialport/parser-readline": "11.0.1", diff --git a/package.json b/package.json index 6139eab4e..173b2fb96 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "@nordicsemiconductor/bdd-markdown": "5.6.7", "@nordicsemiconductor/cloudformation-helpers": "8.0.0", "@nordicsemiconductor/eslint-config-asset-tracker-cloud-typescript": "16.0.15", - "@nordicsemiconductor/firmware-ci-device-helpers": "14.0.183", + "@nordicsemiconductor/firmware-ci-device-helpers": "14.0.184", "@swc/cli": "0.1.62", "@swc/core": "1.3.80", "@swc/jest": "0.2.29",