diff options
author | Sukanya Pandey <sukapan1@in.ibm.com> | 2020-12-16 17:38:01 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2021-02-02 01:32:54 +0300 |
commit | be6858c06bfbd1e06935ad01b743c1043f74488a (patch) | |
tree | ddd6bf979b7a045d4ac16cd723a773d161e92b18 /tests/unit | |
parent | d50ba5f915e16be042617d6f472839a684f88ef9 (diff) | |
download | webui-vue-be6858c06bfbd1e06935ad01b743c1043f74488a.tar.xz |
Add power restore policy page
- This page will show how the system boots once power
is restored after a power disturbance.
- API used to fetch the JSON:
/redfish/v1/JsonSchemas/ComputerSystem/ComputerSystem.json
- API used to fetch the current policy and to save updated policy:
/redfish/v1/Systems/system/
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com>
Change-Id: I203bd3c5d26071b882cce6b9950cdb3fb1deb212
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/__snapshots__/AppNavigation.spec.js.snap | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/unit/__snapshots__/AppNavigation.spec.js.snap b/tests/unit/__snapshots__/AppNavigation.spec.js.snap index e0ab2737..11db8068 100644 --- a/tests/unit/__snapshots__/AppNavigation.spec.js.snap +++ b/tests/unit/__snapshots__/AppNavigation.spec.js.snap @@ -236,6 +236,15 @@ exports[`AppNavigation.vue should render correctly 1`] = ` </a> <a class="nav-link" + data-test-id="nav-item-power-restore-policy" + href="#/control/power-restore-policy" + > + + appNavigation.powerRestorePolicy + + </a> + <a + class="nav-link" data-test-id="nav-item-reboot-bmc" href="#/control/reboot-bmc" > @@ -752,6 +761,15 @@ exports[`AppNavigation.vue should render with nav-container open 1`] = ` </a> <a class="nav-link" + data-test-id="nav-item-power-restore-policy" + href="#/control/power-restore-policy" + > + + appNavigation.powerRestorePolicy + + </a> + <a + class="nav-link" data-test-id="nav-item-reboot-bmc" href="#/control/reboot-bmc" > |