|
|
@ -43,6 +43,7 @@ export const genTest = (apiType, dbType) => { |
|
|
|
return cy.get("tbody > tr").eq(row).find("td.ant-table-cell").eq(col); |
|
|
|
return cy.get("tbody > tr").eq(row).find("td.ant-table-cell").eq(col); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
describe("Check Audit Tab Cells", () => { |
|
|
|
it("Open Audit tab", () => { |
|
|
|
it("Open Audit tab", () => { |
|
|
|
// http://localhost:8080/api/v1/db/meta/projects/p_bxp57hmks0n5o2/audits?offset=0&limit=25
|
|
|
|
// http://localhost:8080/api/v1/db/meta/projects/p_bxp57hmks0n5o2/audits?offset=0&limit=25
|
|
|
|
cy.intercept("/**/audits?offset=*&limit=*").as("waitForPageLoad"); |
|
|
|
cy.intercept("/**/audits?offset=*&limit=*").as("waitForPageLoad"); |
|
|
@ -67,9 +68,12 @@ export const genTest = (apiType, dbType) => { |
|
|
|
getAuditCell(1, 0).contains("TABLE").should("exist"); |
|
|
|
getAuditCell(1, 0).contains("TABLE").should("exist"); |
|
|
|
getAuditCell(1, 1).contains("CREATED").should("exist"); |
|
|
|
getAuditCell(1, 1).contains("CREATED").should("exist"); |
|
|
|
getAuditCell(1, 3).contains("user@nocodb.com").should("exist"); |
|
|
|
getAuditCell(1, 3).contains("user@nocodb.com").should("exist"); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
after(() => { |
|
|
|
settingsPage.closeMenu(); |
|
|
|
settingsPage.closeMenu(); |
|
|
|
}); |
|
|
|
}) |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
it("Table Rename operation", () => { |
|
|
|
it("Table Rename operation", () => { |
|
|
|
cy.get(".nc-project-tree-tbl-City").should("exist").click(); |
|
|
|
cy.get(".nc-project-tree-tbl-City").should("exist").click(); |
|
|
|