commit | 8313376f825d0a69745b2b61ea94731af8738da7 | [log] [tgz] |
---|---|---|
author | Dixsie Wolmers <dixsie@ibm.com> | Wed Jul 15 08:45:19 2020 -0500 |
committer | Gunnar Mills <gmills@us.ibm.com> | Thu Jul 16 15:49:23 2020 +0000 |
tree | 1430439bb49235d84d1c2e6c7427421ec912a9ff | |
parent | db7aae23201421137c81d037cd230459e30b1ae7 [diff] [blame] |
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
diff --git a/src/views/Health/HardwareStatus/HardwareStatusTableBmcManager.vue b/src/views/Health/HardwareStatus/HardwareStatusTableBmcManager.vue index 5ad8d71..6a99652 100644 --- a/src/views/Health/HardwareStatus/HardwareStatusTableBmcManager.vue +++ b/src/views/Health/HardwareStatus/HardwareStatusTableBmcManager.vue
@@ -3,7 +3,11 @@ <b-table :items="items" :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-expandBmc" + @click="row.toggleDetails" + > <icon-chevron /> </b-button> </template>