From 8313376f825d0a69745b2b61ea94731af8738da7 Mon Sep 17 00:00:00 2001
From: Dixsie Wolmers <dixsie@ibm.com>
Date: Wed, 15 Jul 2020 08:45:19 -0500
Subject: Add test hooks to hardware status page

Adds test hooks to expand table buttons only.

Signed-off-by: Dixsie Wolmers <dixsie@ibm.com>
Change-Id: I5222372cc8e324322bdfcd538b98240bb28a39dd
---
 src/views/Health/HardwareStatus/HardwareStatusTableStystem.vue | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'src/views/Health/HardwareStatus/HardwareStatusTableStystem.vue')

diff --git a/src/views/Health/HardwareStatus/HardwareStatusTableStystem.vue b/src/views/Health/HardwareStatus/HardwareStatusTableStystem.vue
index 928d716e..68f5de5a 100644
--- a/src/views/Health/HardwareStatus/HardwareStatusTableStystem.vue
+++ b/src/views/Health/HardwareStatus/HardwareStatusTableStystem.vue
@@ -3,7 +3,11 @@
     <b-table :items="systems" :fields="fields">
       <!-- Expand chevron icon -->
       <template v-slot:cell(expandRow)="row">
-        <b-button variant="link" @click="row.toggleDetails">
+        <b-button
+          variant="link"
+          data-test-id="hardwareStatus-button-expandSystem"
+          @click="row.toggleDetails"
+        >
           <icon-chevron />
         </b-button>
       </template>
-- 
cgit v1.2.3

