test: get indicatior by parent class
This commit is contained in:
parent
467947f18d
commit
64474d4597
2 changed files with 2 additions and 2 deletions
|
|
@ -65,7 +65,7 @@ context("Data Control", () => {
|
|||
.should("have.class", "reqd");
|
||||
|
||||
//Checking if the status is "Not Saved" initially
|
||||
cy.get(".indicator-pill").should("have.text", "Not Saved");
|
||||
cy.get(".page-head-content .indicator-pill").should("have.text", "Not Saved");
|
||||
|
||||
//Inputting data in the field
|
||||
cy.fill_field("name1", "@@###", "Data");
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ frappe.ui.form.Toolbar = class Toolbar {
|
|||
!!(this.is_title_editable() || this.can_rename())
|
||||
);
|
||||
|
||||
// this.set_indicator();
|
||||
this.set_indicator();
|
||||
}
|
||||
is_title_editable() {
|
||||
let title_field = this.frm.meta.title_field;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue