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
diff --git a/tests/unit/AppHeader.spec.js b/tests/unit/AppHeader.spec.js
index 9135c00..93ad1f4 100644
--- a/tests/unit/AppHeader.spec.js
+++ b/tests/unit/AppHeader.spec.js
@@ -65,8 +65,8 @@
});
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);
});