From a192c1e9949a61822d18a3bc420c601c6f3d1ad2 Mon Sep 17 00:00:00 2001 From: pablone Date: Wed, 3 Jul 2024 09:39:49 +0200 Subject: [PATCH] remove: refs #7404 remove spec --- .../integration/route/routeList.spec.js | 39 ------------------- 1 file changed, 39 deletions(-) delete mode 100644 test/cypress/integration/route/routeList.spec.js diff --git a/test/cypress/integration/route/routeList.spec.js b/test/cypress/integration/route/routeList.spec.js deleted file mode 100644 index 6d33dbc39..000000000 --- a/test/cypress/integration/route/routeList.spec.js +++ /dev/null @@ -1,39 +0,0 @@ -describe('AgencyWorkCenter', () => { - beforeEach(() => { - cy.viewport(1920, 1080); - cy.login('developer'); - cy.visit(`/#/agency/11/workCenter`); - }); - - it('assign workCenter', () => { - cy.get('.q-page-sticky > div > .q-btn > .q-btn__content > .q-icon').click(); - cy.get( - '.vn-row > .q-field > .q-field__inner > .q-field__control > .q-field__control-container' - ).type('workCenterOne{enter}'); - cy.get('.q-notification__message').should('have.text', 'Data created'); - }); - - it('delete workCenter', () => { - cy.get('.q-item__section--side > .q-btn > .q-btn__content > .q-icon').click(); - cy.get('.q-notification__message').should( - 'have.text', - 'WorkCenter removed successfully' - ); - }); - - it('error on duplicate workCenter', () => { - cy.get('.q-page-sticky > div > .q-btn > .q-btn__content > .q-icon').click(); - cy.get( - '.vn-row > .q-field > .q-field__inner > .q-field__control > .q-field__control-container' - ).type('workCenterOne{enter}'); - cy.get('.q-notification__message').should('have.text', 'Data created'); - cy.get('.q-page-sticky > div > .q-btn > .q-btn__content > .q-icon').click(); - cy.get( - '.vn-row > .q-field > .q-field__inner > .q-field__control > .q-field__control-container' - ).type('workCenterOne{enter}'); - - cy.get( - ':nth-child(2) > .q-notification__wrapper > .q-notification__content > .q-notification__message' - ).should('have.text', 'This workCenter is already assigned to this agency'); - }); -});