fix: scroll to route field correctly in test
This commit is contained in:
parent
8a2dca535e
commit
b58592f30c
1 changed files with 2 additions and 0 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue