Trying to fix CI... part 3

This commit is contained in:
Matteo Gheza 2021-04-22 16:33:17 +02:00
parent 221819ea17
commit 5cc5f778b1
1 changed files with 6 additions and 7 deletions

View File

@ -8,13 +8,6 @@ Cypress.Commands.add("login", (username="admin", password="correcthorsebatteryst
cy.setCookie("forceLanguage", "en");
cy.setCookie('disableServiceWorkerInstallation', '1');
cy.intercept('/resources/ajax/ajax_add_type.php').as('ajax_add_type');
cy.intercept('/resources/ajax/ajax_change_availability.php').as('ajax_change_availability');
cy.intercept('/resources/ajax/ajax_list.php').as('ajax_list');
cy.intercept('/resources/ajax/ajax_log.php').as('ajax_log');
cy.intercept('/resources/ajax/ajax_services.php').as('ajax_services');
cy.intercept('/resources/ajax/ajax_trainings.php').as('ajax_trainings');
cy.visit("/");
cy.get("input[name='name']")
.clear()
@ -45,4 +38,10 @@ beforeEach(() => {
cy.intercept('https://a.tile.openstreetmap.org/*/*/*.png', { fixture: 'map_frame_A.png' });
cy.intercept('https://b.tile.openstreetmap.org/*/*/*.png', { fixture: 'map_frame_B.png' });
cy.intercept('https://c.tile.openstreetmap.org/*/*/*.png', { fixture: 'map_frame_C.png' });
cy.intercept('/resources/ajax/ajax_add_type.php').as('ajax_add_type');
cy.intercept('/resources/ajax/ajax_change_availability.php').as('ajax_change_availability');
cy.intercept('/resources/ajax/ajax_list.php').as('ajax_list');
cy.intercept('/resources/ajax/ajax_log.php').as('ajax_log');
cy.intercept('/resources/ajax/ajax_services.php').as('ajax_services');
cy.intercept('/resources/ajax/ajax_trainings.php').as('ajax_trainings');
});