diff --git a/.eslintrc b/.eslintrc index cc7f555669..937f11586c 100644 --- a/.eslintrc +++ b/.eslintrc @@ -148,6 +148,7 @@ "context": true, "before": true, "beforeEach": true, + "after": true, "qz": true, "localforage": true, "extend_cscript": true diff --git a/cypress/integration/first_day_of_the_week.js b/cypress/integration/first_day_of_the_week.js index 7099d3fddc..2626905f5b 100644 --- a/cypress/integration/first_day_of_the_week.js +++ b/cypress/integration/first_day_of_the_week.js @@ -12,7 +12,7 @@ context("First Day of the Week", () => { }); it("Date control starts with same day as selected in System Settings", () => { - cy.intercept('POST', '/api/method/frappe.core.doctype.system_settings.system_settings.load').as("load_settings") + cy.intercept('POST', '/api/method/frappe.core.doctype.system_settings.system_settings.load').as("load_settings"); cy.fill_field('first_day_of_the_week', 'Tuesday', 'Select'); cy.findByRole('button', {name: 'Save'}).click(); cy.wait("@load_settings"); @@ -31,7 +31,7 @@ context("First Day of the Week", () => { }); it("Calendar view starts with same day as selected in System Settings", () => { - cy.intercept('POST', '/api/method/frappe.core.doctype.system_settings.system_settings.load').as("load_settings") + cy.intercept('POST', '/api/method/frappe.core.doctype.system_settings.system_settings.load').as("load_settings"); cy.fill_field('first_day_of_the_week', 'Monday', 'Select'); cy.findByRole('button', {name: 'Save'}).click(); cy.wait("@load_settings"); @@ -45,4 +45,4 @@ context("First Day of the Week", () => { cy.fill_field('first_day_of_the_week', 'Sunday', 'Select'); cy.findByRole('button', {name: 'Save'}).click(); }); -}) \ No newline at end of file +}); \ No newline at end of file