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 4b6131c3d7c2e6a1a0a0555c7bdf2d5fd6376ecc Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 28 Aug 2023 12:32:42 +0000 Subject: [PATCH 2/2] chore(deps): update dependency @nordicsemiconductor/bdd-markdown to v5.6.10 --- package-lock.json | 16 +++++++++++----- package.json | 2 +- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 95b88e9e0..1e9cad269 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37,7 +37,7 @@ "@aws-sdk/client-timestream-write": "3.398.0", "@aws-sdk/util-dynamodb": "3.398.0", "@nordicsemiconductor/asset-tracker-cloud-code-style": "12.0.81", - "@nordicsemiconductor/bdd-markdown": "5.6.7", + "@nordicsemiconductor/bdd-markdown": "5.6.10", "@nordicsemiconductor/cloudformation-helpers": "8.0.0", "@nordicsemiconductor/eslint-config-asset-tracker-cloud-typescript": "16.0.15", "@nordicsemiconductor/firmware-ci-device-helpers": "14.0.183", @@ -9218,12 +9218,12 @@ } }, "node_modules/@nordicsemiconductor/bdd-markdown": { - "version": "5.6.7", - "resolved": "https://registry.npmjs.org/@nordicsemiconductor/bdd-markdown/-/bdd-markdown-5.6.7.tgz", - "integrity": "sha512-rAQ+62Ysh2kAMR8AhHKcVeX+ZFVogtmZ+LO4kv1vLyKovWFO2Iw36ZZwxNq+oaOXqjqoXajQQXJgZiRAs2WAOQ==", + "version": "5.6.10", + "resolved": "https://registry.npmjs.org/@nordicsemiconductor/bdd-markdown/-/bdd-markdown-5.6.10.tgz", + "integrity": "sha512-7B8DmNtzu88xgT3dtO0Md1cPn5Ftk7siIosG3As0q4KAjIh4F747iZGf0FH8rNkSUUT46KmNAQXb43p03hg72A==", "dev": true, "dependencies": { - "@sinclair/typebox": "0.31.2", + "@sinclair/typebox": "0.31.5", "ajv": "8.12.0", "chalk": "5.3.0", "jsonata": "2.0.3", @@ -9235,6 +9235,12 @@ "npm": ">=9.0.0" } }, + "node_modules/@nordicsemiconductor/bdd-markdown/node_modules/@sinclair/typebox": { + "version": "0.31.5", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.31.5.tgz", + "integrity": "sha512-4fbqH1ONle98ULTQakJFVNwGwSx+rv90HEnjZGt1GoApMKooUw1WXw3ub+Ew7rInmyDcwsjIxiHt39bkWzeCBA==", + "dev": true + }, "node_modules/@nordicsemiconductor/cloudformation-helpers": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/@nordicsemiconductor/cloudformation-helpers/-/cloudformation-helpers-8.0.0.tgz", diff --git a/package.json b/package.json index 6139eab4e..d1a75fb4e 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "@aws-sdk/client-timestream-write": "3.398.0", "@aws-sdk/util-dynamodb": "3.398.0", "@nordicsemiconductor/asset-tracker-cloud-code-style": "12.0.81", - "@nordicsemiconductor/bdd-markdown": "5.6.7", + "@nordicsemiconductor/bdd-markdown": "5.6.10", "@nordicsemiconductor/cloudformation-helpers": "8.0.0", "@nordicsemiconductor/eslint-config-asset-tracker-cloud-typescript": "16.0.15", "@nordicsemiconductor/firmware-ci-device-helpers": "14.0.183",