diff --git a/scripts/cypress/integration/common/1e_pg_meta_sync.js b/scripts/cypress/integration/common/1e_pg_meta_sync.js index ab67562384..c6db15133a 100644 --- a/scripts/cypress/integration/common/1e_pg_meta_sync.js +++ b/scripts/cypress/integration/common/1e_pg_meta_sync.js @@ -18,14 +18,16 @@ export const genTest = (apiType, dbType) => { // Run once before test- create project (rest/graphql) // before(() => { - mainPage.tabReset(); + cy.restoreLocalStorage(); mainPage.openMetaTab(); }); - beforeEach(() => {}); + beforeEach(() => { + cy.restoreLocalStorage(); + }); - after(() => { - // mainPage.closeMetaTab(); + afterEach(() => { + cy.saveLocalStorage(); }); it(`Create table`, () => {