Browse Source

test: stability experiment- force open tab in beforeEach

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/3511/head
Raju Udava 2 years ago
parent
commit
02acfef060
  1. 5
      scripts/cypress/integration/common/4c_form_view_detailed.js

5
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(() => {

Loading…
Cancel
Save