From 02acfef060e1b5f833825077669518b48988b441 Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Tue, 6 Sep 2022 18:33:25 +0530 Subject: [PATCH] test: stability experiment- force open tab in beforeEach Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- scripts/cypress/integration/common/4c_form_view_detailed.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/cypress/integration/common/4c_form_view_detailed.js b/scripts/cypress/integration/common/4c_form_view_detailed.js index dc2486de4b..e5919be8a6 100644 --- a/scripts/cypress/integration/common/4c_form_view_detailed.js +++ b/scripts/cypress/integration/common/4c_form_view_detailed.js @@ -77,10 +77,11 @@ export const genTest = (apiType, dbType) => { }); beforeEach(() => { - // fix me! - // window.localStorage.setItem('nc-right-sidebar', '{"isOpen":true,"hasSidebar":true}') cy.restoreLocalStorage(); cy.wait(500); + + // fix me! + window.localStorage.setItem('nc-right-sidebar', '{"isOpen":true,"hasSidebar":true}') }); afterEach(() => {