diff options
author | Dixsie Wolmers <dixsie@ibm.com> | 2020-07-01 20:56:10 +0300 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2020-07-06 18:39:29 +0300 |
commit | 1e2d70a29c5156b844b432f93facef430205ccb4 (patch) | |
tree | c0c8a6601eb197485b04028e8284297f34cc03d0 /src/views/Overview/OverviewQuickLinks.vue | |
parent | 6173bc611071be368967afd795be5e84d8b38ee5 (diff) | |
download | webui-vue-1e2d70a29c5156b844b432f93facef430205ccb4.tar.xz |
Add test hooks to overview page
- Adds data-test-id test hooks to simplify the xpath queries needed
to set up automation testing
- Adds standardized test hooks to all interactive buttons
- Adds link to SOL console and network settings pages
Signed-off-by: Dixsie Wolmers <dixsie@ibm.com>
Change-Id: I4cb0f4c93cf14377af1fe6d18aa591678c739b45
Diffstat (limited to 'src/views/Overview/OverviewQuickLinks.vue')
-rw-r--r-- | src/views/Overview/OverviewQuickLinks.vue | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/views/Overview/OverviewQuickLinks.vue b/src/views/Overview/OverviewQuickLinks.vue index 09e5a00f..b964795b 100644 --- a/src/views/Overview/OverviewQuickLinks.vue +++ b/src/views/Overview/OverviewQuickLinks.vue @@ -16,6 +16,7 @@ <dd> <b-form-checkbox v-model="serverLedChecked" + data-test-id="overviewQuickLinks-checkbox-serverLed" name="check-button" switch > @@ -26,10 +27,10 @@ </dl> </div> <div> - <!-- TODO: link to network settings --> <b-button - href="#" + to="/configuration/network-settings" variant="secondary" + data-test-id="overviewQuickLinks-button-networkSettings" class="d-flex justify-content-between align-items-center" > <span>{{ $t('pageOverview.quicklinks.editNetworkSettings') }}</span> @@ -37,10 +38,10 @@ </b-button> </div> <div> - <!-- TODO: link to SOL --> <b-button - href="#" + to="/control/serial-over-lan" variant="secondary" + data-test-id="overviewQuickLinks-button-solConsole" class="d-flex justify-content-between align-items-center" > <span>{{ $t('pageOverview.quicklinks.solConsole') }}</span> |