summaryrefslogtreecommitdiff
path: root/src/views/Health/HardwareStatus/HardwareStatusTableStystem.vue
diff options
context:
space:
mode:
authorDixsie Wolmers <dixsie@ibm.com>2020-07-15 16:45:19 +0300
committerGunnar Mills <gmills@us.ibm.com>2020-07-16 18:49:23 +0300
commit8313376f825d0a69745b2b61ea94731af8738da7 (patch)
tree1430439bb49235d84d1c2e6c7427421ec912a9ff /src/views/Health/HardwareStatus/HardwareStatusTableStystem.vue
parentdb7aae23201421137c81d037cd230459e30b1ae7 (diff)
downloadwebui-vue-8313376f825d0a69745b2b61ea94731af8738da7.tar.xz
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
Diffstat (limited to 'src/views/Health/HardwareStatus/HardwareStatusTableStystem.vue')
-rw-r--r--src/views/Health/HardwareStatus/HardwareStatusTableStystem.vue6
1 files changed, 5 insertions, 1 deletions
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>