diff --git a/cypress/integration/awesome_bar.js b/cypress/integration/awesome_bar.js index dff04a5693..a8f97a798c 100644 --- a/cypress/integration/awesome_bar.js +++ b/cypress/integration/awesome_bar.js @@ -36,9 +36,8 @@ context("Awesome Bar", () => { cy.get(".title-text").should("contain", "To Do"); cy.wait(200); // Wait a bit longer before checking the filter. cy.get('[data-original-title="ID"] > input').should("have.value", "%test%"); - }); - it("filter preserved, now finds something else", () => { + // filter preserved, now finds something else cy.visit("/app/todo"); cy.get(".title-text").should("contain", "To Do"); cy.wait(200); // Wait a bit longer before checking the filter. diff --git a/cypress/integration/list_paging.js b/cypress/integration/list_paging.js index 494ca6ae74..2ce347828a 100644 --- a/cypress/integration/list_paging.js +++ b/cypress/integration/list_paging.js @@ -12,7 +12,7 @@ context("List Paging", () => { it("test load more with count selection buttons", () => { cy.visit("/app/todo/view/report"); - cy.get(".filter-x-button").click(); + cy.clear_filters(); cy.get(".list-paging-area .list-count").should("contain.text", "20 of"); cy.get(".list-paging-area .btn-more").click(); diff --git a/cypress/support/commands.js b/cypress/support/commands.js index 66defa88f7..cf94335a74 100644 --- a/cypress/support/commands.js +++ b/cypress/support/commands.js @@ -450,7 +450,7 @@ Cypress.Commands.add("click_menu_button", (name) => { Cypress.Commands.add("clear_filters", () => { cy.get(".filter-x-button").click({ force: true }); - cy.wait(500); + cy.wait(1000); }); Cypress.Commands.add("click_modal_primary_button", (btn_name) => { diff --git a/frappe/desk/doctype/todo/todo_list.js b/frappe/desk/doctype/todo/todo_list.js index c80e3445ca..b21f412801 100644 --- a/frappe/desk/doctype/todo/todo_list.js +++ b/frappe/desk/doctype/todo/todo_list.js @@ -3,12 +3,6 @@ frappe.listview_settings["ToDo"] = { add_fields: ["reference_type", "reference_name"], onload: function (me) { - if (!Object.keys(frappe.route_options).length) { - frappe.route_options = { - allocated_to: frappe.session.user, - status: "Open", - }; - } me.page.set_title(__("To Do")); }, diff --git a/frappe/www/message.html b/frappe/www/message.html index 9039e13186..244675d9f5 100644 --- a/frappe/www/message.html +++ b/frappe/www/message.html @@ -42,7 +42,7 @@ html, body {