test: cypress form
This commit is contained in:
parent
2646771811
commit
fa0b59aa70
1 changed files with 2 additions and 2 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue