Browse Source

revert: 2b test

pull/4141/head
braks 2 years ago
parent
commit
1eac103651
  1. 22
      scripts/cypress/integration/common/2b_table_with_m2m_column.js

22
scripts/cypress/integration/common/2b_table_with_m2m_column.js

@ -69,8 +69,26 @@ export const genTest = (apiType, dbType) => {
cy.getActiveModal(".nc-modal-child-list") cy.getActiveModal(".nc-modal-child-list")
.find("button:contains(Link to 'Film')") .find("button:contains(Link to 'Film')")
.click() .click()
.then(() => {
cy.getActiveModal('.nc-modal-link-record').find('.ant-modal-close').click() // Link record form validation
cy.getActiveModal(".nc-modal-link-record")
.contains("Link record")
.should("exist");
cy.getActiveModal(".nc-modal-link-record")
.find(".nc-reload")
.should("exist");
cy.getActiveModal(".nc-modal-link-record")
.find('button:contains("Add new record")')
.should("exist");
cy.getActiveModal(".nc-modal-link-record")
.find(".ant-card")
.eq(0)
.contains("ACE GOLDFINGER")
.should("exist");
cy.getActiveModal(".nc-modal-link-record")
.find("button.ant-modal-close")
.click();
});
}); });
it("Expand first linked card, validate", () => { it("Expand first linked card, validate", () => {

Loading…
Cancel
Save