Browse Source

test: CY Flaky- add delay before accessing audit table contents

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/3401/head
Raju Udava 2 years ago
parent
commit
8ea8163352
  1. 10
      scripts/cypress-v2/integration/common/1a_table_operations.js

10
scripts/cypress-v2/integration/common/1a_table_operations.js

@ -8,16 +8,16 @@ export const genTest = (apiType, dbType) => {
dbType === "xcdb" ? "Meta - " : ""
}${apiType.toUpperCase()} api - Table`, () => {
before(() => {
cy.fileHook();
// cy.get(".mdi-close").click({ multiple: true });
cy.saveLocalStorage();
cy.wait(1000);
});
beforeEach(() => {
cy.fileHook();
cy.restoreLocalStorage();
cy.wait(1000);
});
after(() => {
// cy.get(".mdi-close").click({ multiple: true, force: true });
});
const name = "tablex";
@ -43,6 +43,8 @@ export const genTest = (apiType, dbType) => {
//
cy.get("thead > tr > th.ant-table-cell").should("have.length", 5);
cy.wait(3000)
// Audit table entries
// [Header] Operation Type, Operation Sub Type, Description, User, Created
// [0] TABLE, DELETED, delete table table-x, user@nocodb.com, ...

Loading…
Cancel
Save