mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-29 23:36:40 +00:00
test: local storage handling for tableOps suite
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
This commit is contained in:
@@ -10,13 +10,17 @@ export const genTest = (apiType, dbType) => {
|
||||
describe(`${apiType.toUpperCase()} SQL Views`, () => {
|
||||
// Run once before test- create project (rest/graphql)
|
||||
//
|
||||
before(() => {
|
||||
cy.fileHook();
|
||||
mainPage.tabReset();
|
||||
});
|
||||
// before(() => {
|
||||
// cy.fileHook();
|
||||
// mainPage.tabReset();
|
||||
// });
|
||||
|
||||
beforeEach(() => {
|
||||
cy.fileHook();
|
||||
cy.restoreLocalStorage();
|
||||
})
|
||||
|
||||
afterEach(() => {
|
||||
cy.saveLocalStorage();
|
||||
})
|
||||
|
||||
it(`XCDB: SQL View Column operations`, () => {
|
||||
@@ -168,10 +172,6 @@ export const genTest = (apiType, dbType) => {
|
||||
cy.closeViewsTab("StaffList");
|
||||
}
|
||||
});
|
||||
|
||||
after(() => {
|
||||
// void
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user