summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSukanya Pandey <sukapan1@in.ibm.com>2021-08-16 16:29:14 +0300
committerDerick Montague <derick.montague@ibm.com>2021-08-27 04:32:14 +0300
commit4dd7eabfa4476e264e051dc0178a333452a6b175 (patch)
treed4105892c1889155492aeb9dab63411f68a45eaa /tests
parentd95ea513df003b97a23d58006480508339489fca (diff)
downloadwebui-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.js4
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);
});