diff --git a/cypress/integration/form.js b/cypress/integration/form.js index 7c3d6cea03..508cd70e00 100644 --- a/cypress/integration/form.js +++ b/cypress/integration/form.js @@ -138,7 +138,7 @@ context("Form", () => { ); }); - cy.get("@table").find('[data-idx="1"] .edit-grid-row').click(); + cy.get("@table").find('[data-idx="1"] .btn-open-row').click(); cy.get(".grid-row-open").as("table-form"); cy.get("@table-form") .find('.frappe-control[data-fieldname="is_primary_phone"]') @@ -146,7 +146,7 @@ context("Form", () => { cy.get("@table-form").find(".grid-footer-toolbar").click(); // set property on form_render event of child table - cy.get("@table").find('[data-idx="1"] .edit-grid-row').click(); + cy.get("@table").find('[data-idx="1"] .btn-open-row').click(); cy.get("@table") .find('[data-idx="1"]') .invoke("attr", "data-name")