Add test hook to Reboot BMC page
Adds data attribute test hook to single reboot button on page
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: I82b64c69472e31efc866a0c4f10699fe38369694
diff --git a/src/views/Control/RebootBmc/RebootBmc.vue b/src/views/Control/RebootBmc/RebootBmc.vue
index 1291253..dbe1762 100644
--- a/src/views/Control/RebootBmc/RebootBmc.vue
+++ b/src/views/Control/RebootBmc/RebootBmc.vue
@@ -5,7 +5,12 @@
<b-col md="8" lg="8" xl="6">
<page-section>
{{ $t('pageRebootBmc.rebootInformation') }}
- <b-button variant="primary" class="d-block mt-5" @click="onClick">
+ <b-button
+ variant="primary"
+ class="d-block mt-5"
+ data-test-id="rebootBmc-button-reboot"
+ @click="onClick"
+ >
{{ $t('pageRebootBmc.rebootBmc') }}
</b-button>
</page-section>