diff --git a/cypress/integration/list_view_settings.js b/cypress/integration/list_view_settings.js index 5dafb7a04a..027dfaa768 100644 --- a/cypress/integration/list_view_settings.js +++ b/cypress/integration/list_view_settings.js @@ -18,7 +18,7 @@ context("List View Settings", () => { cy.get(".frappe-list svg.es-icon.es-line").should("be.visible"); cy.get(".menu-btn-group button").click(); cy.get(".dropdown-menu li").filter(":visible").contains("List Settings").click(); - cy.get(".modal-dialog").should("contain", "DocType Settings"); + cy.get(".modal-dialog").should("contain", "DocType List View Settings"); cy.findByLabelText("Disable Count").check({ force: true }); cy.findByLabelText("Disable Comment Count").check({ force: true }); @@ -33,7 +33,7 @@ context("List View Settings", () => { cy.get(".menu-btn-group button").click({ force: true }); cy.get(".dropdown-menu li").filter(":visible").contains("List Settings").click(); - cy.get(".modal-dialog").should("contain", "DocType Settings"); + cy.get(".modal-dialog").should("contain", "DocType List View Settings"); cy.findByLabelText("Disable Count").uncheck({ force: true }); cy.findByLabelText("Disable Comment Count").uncheck({ force: true }); cy.findByLabelText("Disable Sidebar Stats").uncheck({ force: true });