diff options
author | Sukanya Pandey <sukapan1@in.ibm.com> | 2021-08-16 16:29:14 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2021-08-27 04:32:14 +0300 |
commit | 4dd7eabfa4476e264e051dc0178a333452a6b175 (patch) | |
tree | d4105892c1889155492aeb9dab63411f68a45eaa /tests | |
parent | d95ea513df003b97a23d58006480508339489fca (diff) | |
download | webui-vue-4dd7eabfa4476e264e051dc0178a333452a6b175.tar.xz |
Add system information on Appheader page
- Model type and serial number are newly added system info data on
Appheader.
- On small screens and below system information(model type, serial number and
asset tag) will be hidden.
- On large screen and below model type and serial number will be visible but
asset tag will be hidden.
- For all other screens all the system info will be visible.
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com>
Change-Id: Ia844a26f658083cbd5fa9c8f3f6bea8b65ddcd11
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/AppHeader.spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/AppHeader.spec.js b/tests/unit/AppHeader.spec.js index 9135c007..93ad1f46 100644 --- a/tests/unit/AppHeader.spec.js +++ b/tests/unit/AppHeader.spec.js @@ -65,8 +65,8 @@ describe('AppHeader.vue', () => { }); describe('Created lifecycle hook', () => { - it('getServerInfo should dispatch global/getServerStatus', () => { - wrapper.vm.getServerInfo(); + it('getSystemInfo should dispatch global/getSystemInfo', () => { + wrapper.vm.getSystemInfo(); expect(store.dispatch).toHaveBeenCalledTimes(1); }); |