From fa0b59aa708623e60b1ce03f0789729089bae2be Mon Sep 17 00:00:00 2001 From: barredterra <14891507+barredterra@users.noreply.github.com> Date: Fri, 23 Feb 2024 22:49:10 +0100 Subject: [PATCH] test: cypress form --- cypress/integration/form.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")