From 20ee7ff88f23f92f38a6bfc991da04d14bc8f40e Mon Sep 17 00:00:00 2001 From: Andy Chan Date: Mon, 18 Nov 2019 11:19:01 -0800 Subject: [PATCH] Adding data-test-hook for HorizontalLoader (#143) Adding data-test-hook for HorizontalLoader so that we can detect loading states in E2E tests. --- CHANGELOG.md | 4 ++++ lib/components/Loader/HorizontalLoader.tsx | 2 +- package-lock.json | 14 +++++++------- package.json | 2 +- 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c52fcd7..e47c3ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 7.0.9 +### Changed +- Added data-test-hook='progressbar' for HorizontalLoader + ## 7.0.8 ### Fixed - Flattened markdown in context panel to have content, footer and header at the same level. diff --git a/lib/components/Loader/HorizontalLoader.tsx b/lib/components/Loader/HorizontalLoader.tsx index 14f4b2c..676cf99 100644 --- a/lib/components/Loader/HorizontalLoader.tsx +++ b/lib/components/Loader/HorizontalLoader.tsx @@ -27,7 +27,7 @@ export const HorizontalLoader: React.StatelessComponent = } return ( -
+
{dots}
); diff --git a/package-lock.json b/package-lock.json index e922c69..bba6c8b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@microsoft/azure-iot-ux-fluent-controls", - "version": "7.0.8", + "version": "7.0.9", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -8812,7 +8812,7 @@ }, "find-up": { "version": "3.0.0", - "resolved": "", + "resolved": false, "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", "dev": true, "requires": { @@ -8827,13 +8827,13 @@ }, "is-fullwidth-code-point": { "version": "2.0.0", - "resolved": "", + "resolved": false, "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", "dev": true }, "locate-path": { "version": "3.0.0", - "resolved": "", + "resolved": false, "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", "dev": true, "requires": { @@ -8862,7 +8862,7 @@ }, "p-locate": { "version": "3.0.0", - "resolved": "", + "resolved": false, "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", "dev": true, "requires": { @@ -8883,7 +8883,7 @@ }, "pkg-dir": { "version": "3.0.0", - "resolved": "", + "resolved": false, "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", "dev": true, "requires": { @@ -8927,7 +8927,7 @@ }, "which-module": { "version": "2.0.0", - "resolved": "", + "resolved": false, "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", "dev": true }, diff --git a/package.json b/package.json index cf07d49..7274785 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/azure-iot-ux-fluent-controls", - "version": "7.0.8", + "version": "7.0.9", "description": "Azure IoT UX Fluent Controls", "main": "./lib/index.js", "types": "./lib/index.d.ts",