Resolve broken unit tests

- Refactor broke snapshots and the logout functionality test

Signed-off-by: Derick Montague <derick.montague@ibm.com>
Change-Id: I31932b0553a8ca9e6e2a38235b7769fab2061ba6
diff --git a/tests/unit/AppHeader.spec.js b/tests/unit/AppHeader.spec.js
index f4e3626..be52ef8 100644
--- a/tests/unit/AppHeader.spec.js
+++ b/tests/unit/AppHeader.spec.js
@@ -51,7 +51,7 @@
   });
 
   it('logout button should dispatch authentication/logout', async () => {
-    wrapper.get('#app-header-logout').trigger('click');
+    wrapper.get('[data-test-id="appHeader-link-logout"]').trigger('click');
     await wrapper.vm.$nextTick();
     expect(store.dispatch).toHaveBeenCalledTimes(1);
   });