Przeglądaj źródła

style: Fix sider issues

version-14
Suraj Shetty 3 lat temu
rodzic
commit
ed2e37eaf7
2 zmienionych plików z 4 dodań i 3 usunięć
  1. +1
    -0
      .eslintrc
  2. +3
    -3
      cypress/integration/first_day_of_the_week.js

+ 1
- 0
.eslintrc Wyświetl plik

@@ -148,6 +148,7 @@
"context": true,
"before": true,
"beforeEach": true,
"after": true,
"qz": true,
"localforage": true,
"extend_cscript": true


+ 3
- 3
cypress/integration/first_day_of_the_week.js Wyświetl plik

@@ -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();
});
})
});

Ładowanie…
Anuluj
Zapisz