summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSandeepa Singh <sandeepa.singh@ibm.com>2021-07-06 13:59:10 +0300
committerDerick Montague <derick.montague@ibm.com>2021-08-10 22:20:42 +0300
commit7affc529b7fba41193c4d48764707e9961cdd22d (patch)
treed198c2026a40faf07d622492297aed488b17fccb /tests
parent828dda9b187684902710bb11621eca27bf0c6eec (diff)
downloadwebui-vue-7affc529b7fba41193c4d48764707e9961cdd22d.tar.xz
IA update: Update health section
This is the second update to information architecture changes and has the following changes: - Health section is updated to hardware status section - Hardware status page is updated to inventory and LEDs page - Route for sensors page has been updated Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: Ia1ba3a15a243a00f59a2ec646132436eb355a999
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/__snapshots__/AppNavigation.spec.js.snap68
1 files changed, 34 insertions, 34 deletions
diff --git a/tests/unit/__snapshots__/AppNavigation.spec.js.snap b/tests/unit/__snapshots__/AppNavigation.spec.js.snap
index 04410ca9..92f69509 100644
--- a/tests/unit/__snapshots__/AppNavigation.spec.js.snap
+++ b/tests/unit/__snapshots__/AppNavigation.spec.js.snap
@@ -117,6 +117,15 @@ exports[`AppNavigation.vue should render correctly 1`] = `
appNavigation.eventLogs
</a>
+ <a
+ class="nav-link"
+ data-test-id="nav-item-post-code-logs"
+ href="#/logs/post-code-logs"
+ >
+
+ appNavigation.postCodeLogs
+
+ </a>
</li>
</ul>
</transition-stub>
@@ -125,10 +134,10 @@ exports[`AppNavigation.vue should render correctly 1`] = `
class="nav-item"
>
<button
- aria-controls="health"
+ aria-controls="hardware-status"
aria-expanded="false"
class="btn btn-link collapsed"
- data-test-id="nav-button-health"
+ data-test-id="nav-button-hardware-status"
type="button"
>
<svg
@@ -164,7 +173,7 @@ exports[`AppNavigation.vue should render correctly 1`] = `
/>
</svg>
- appNavigation.health
+ appNavigation.hardwareStatus
<svg
aria-hidden="true"
@@ -195,7 +204,7 @@ exports[`AppNavigation.vue should render correctly 1`] = `
>
<ul
class="collapse"
- id="health"
+ id="hardware-status"
style="display: none;"
>
<li
@@ -203,26 +212,17 @@ exports[`AppNavigation.vue should render correctly 1`] = `
>
<a
class="nav-link"
- data-test-id="nav-item-hardware-status"
- href="#/health/hardware-status"
+ data-test-id="nav-item-inventory"
+ href="#/hardware-status/inventory"
>
- appNavigation.hardwareStatus
-
- </a>
- <a
- class="nav-link"
- data-test-id="nav-item-post-code-logs"
- href="#/health/post-code-logs"
- >
-
- appNavigation.postCodeLogs
+ appNavigation.inventory
</a>
<a
class="nav-link"
data-test-id="nav-item-sensors"
- href="#/health/sensors"
+ href="#/hardware-status/sensors"
>
appNavigation.sensors
@@ -729,6 +729,15 @@ exports[`AppNavigation.vue should render with nav-container open 1`] = `
appNavigation.eventLogs
</a>
+ <a
+ class="nav-link"
+ data-test-id="nav-item-post-code-logs"
+ href="#/logs/post-code-logs"
+ >
+
+ appNavigation.postCodeLogs
+
+ </a>
</li>
</ul>
</transition-stub>
@@ -737,10 +746,10 @@ exports[`AppNavigation.vue should render with nav-container open 1`] = `
class="nav-item"
>
<button
- aria-controls="health"
+ aria-controls="hardware-status"
aria-expanded="false"
class="btn btn-link collapsed"
- data-test-id="nav-button-health"
+ data-test-id="nav-button-hardware-status"
type="button"
>
<svg
@@ -776,7 +785,7 @@ exports[`AppNavigation.vue should render with nav-container open 1`] = `
/>
</svg>
- appNavigation.health
+ appNavigation.hardwareStatus
<svg
aria-hidden="true"
@@ -807,7 +816,7 @@ exports[`AppNavigation.vue should render with nav-container open 1`] = `
>
<ul
class="collapse"
- id="health"
+ id="hardware-status"
style="display: none;"
>
<li
@@ -815,26 +824,17 @@ exports[`AppNavigation.vue should render with nav-container open 1`] = `
>
<a
class="nav-link"
- data-test-id="nav-item-hardware-status"
- href="#/health/hardware-status"
+ data-test-id="nav-item-inventory"
+ href="#/hardware-status/inventory"
>
- appNavigation.hardwareStatus
-
- </a>
- <a
- class="nav-link"
- data-test-id="nav-item-post-code-logs"
- href="#/health/post-code-logs"
- >
-
- appNavigation.postCodeLogs
+ appNavigation.inventory
</a>
<a
class="nav-link"
data-test-id="nav-item-sensors"
- href="#/health/sensors"
+ href="#/hardware-status/sensors"
>
appNavigation.sensors