Browse Source

test: fix for handling new record at end

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/4175/head
Raju Udava 2 years ago
parent
commit
a8bb648dbf
  1. 8
      scripts/cypress/integration/common/3f_link_to_another_record.js

8
scripts/cypress/integration/common/3f_link_to_another_record.js

@ -285,6 +285,14 @@ export const genTest = (apiType, dbType) => {
cy.intercept("GET", `/api/v1/db/data/noco/**`).as("waitForCardLoad");
addRow(3, "2c");
// kludge; remove empty record in the end
mainPage.getCell("Title", 3).click();
mainPage.getCell("Title", 4).rightclick();
// delete row
cy.getActiveMenu(".nc-dropdown-grid-context-menu")
.find('.ant-dropdown-menu-item:contains("Delete Row")')
.first()
.click();
cy.get(".nc-row-expand").eq(2).click({ force: true });

Loading…
Cancel
Save