diff options
author | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2020-07-15 02:03:35 +0300 |
---|---|---|
committer | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2020-07-15 02:03:35 +0300 |
commit | db7aae23201421137c81d037cd230459e30b1ae7 (patch) | |
tree | cc0535eb63c11588243505ba5c0210866dfc6946 /src | |
parent | 8b0afbe71f7ef4938e1e1aaaf7ae50c92f319bf0 (diff) | |
download | webui-vue-db7aae23201421137c81d037cd230459e30b1ae7.tar.xz |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/views/Control/RebootBmc/RebootBmc.vue | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/views/Control/RebootBmc/RebootBmc.vue b/src/views/Control/RebootBmc/RebootBmc.vue index 12912532..dbe17621 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> |