From 1e2d70a29c5156b844b432f93facef430205ccb4 Mon Sep 17 00:00:00 2001
From: Dixsie Wolmers <dixsie@ibm.com>
Date: Wed, 1 Jul 2020 12:56:10 -0500
Subject: 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
---
 src/views/Overview/OverviewEvents.vue | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

(limited to 'src/views/Overview/OverviewEvents.vue')

diff --git a/src/views/Overview/OverviewEvents.vue b/src/views/Overview/OverviewEvents.vue
index 5a950485..2c39cc36 100644
--- a/src/views/Overview/OverviewEvents.vue
+++ b/src/views/Overview/OverviewEvents.vue
@@ -4,7 +4,12 @@
       {{ $t('pageOverview.events.noHighEventsMsg') }}
     </div>
     <div v-else>
-      <b-button variant="link" to="/health/event-logs" class="float-right">
+      <b-button
+        variant="link"
+        to="/health/event-logs"
+        data-test-id="overviewEvents-button-eventLogs"
+        class="float-right"
+      >
         {{ $t('pageOverview.events.viewAllButton') }}
       </b-button>
       <b-table
-- 
cgit v1.2.3

