fix: scroll to route field correctly in test

This commit is contained in:
Gursheen Anand 2026-02-26 01:15:50 +05:30
parent 8a2dca535e
commit b58592f30c

View file

@ -27,7 +27,9 @@ context("Web Form", () => {
cy.wait("@save_form");
cy.get('.frappe-control[data-fieldname="route"]').scrollIntoView();
cy.get_field("route").should("have.value", "note");
cy.get(".title-area .indicator-pill")
.should("contain.text", "Published")
.should("have.class", "green");