mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-29 15:16:53 +00:00
chore(test): JS prettier for all files
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
This commit is contained in:
@@ -3,36 +3,32 @@ import { isXcdb, roles } from "../../support/page_objects/projectConstants";
|
||||
import { isTestSuiteActive } from "../../support/page_objects/projectConstants";
|
||||
|
||||
export const genTest = (apiType, dbType) => {
|
||||
describe(`${apiType.toUpperCase()} Project operations`, () => {
|
||||
if (!isTestSuiteActive(apiType, dbType)) return;
|
||||
describe(`${apiType.toUpperCase()} Project operations`, () => {
|
||||
if (!isTestSuiteActive(apiType, dbType)) return;
|
||||
|
||||
before(() => {
|
||||
cy.restoreLocalStorage();
|
||||
cy.visit("/");
|
||||
cy.wait(4000);
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
cy.restoreLocalStorage();
|
||||
})
|
||||
|
||||
afterEach(() => {
|
||||
cy.saveLocalStorage();
|
||||
})
|
||||
|
||||
it("Delete Project", () => {
|
||||
|
||||
cy.get(`.nc-action-btn`)
|
||||
.should("exist")
|
||||
.last()
|
||||
.click();
|
||||
|
||||
cy.getActiveModal(".nc-modal-project-delete")
|
||||
.find(".ant-btn-dangerous")
|
||||
.should("exist")
|
||||
.click();
|
||||
});
|
||||
before(() => {
|
||||
cy.restoreLocalStorage();
|
||||
cy.visit("/");
|
||||
cy.wait(4000);
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
cy.restoreLocalStorage();
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
cy.saveLocalStorage();
|
||||
});
|
||||
|
||||
it("Delete Project", () => {
|
||||
cy.get(`.nc-action-btn`).should("exist").last().click();
|
||||
|
||||
cy.getActiveModal(".nc-modal-project-delete")
|
||||
.find(".ant-btn-dangerous")
|
||||
.should("exist")
|
||||
.click();
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user