diff --git a/src/css/app.scss b/src/css/app.scss index 0c5dc97fa..994ae7ff1 100644 --- a/src/css/app.scss +++ b/src/css/app.scss @@ -335,3 +335,7 @@ input::-webkit-inner-spin-button { border: 1px solid; box-shadow: 0 4px 6px #00000000; } + +.containerShrinked { + width: 80%; +} diff --git a/src/pages/Zone/Card/ZoneCalendar.vue b/src/pages/Zone/Card/ZoneCalendar.vue deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/pages/Zone/ZoneFilterPanel.vue b/src/pages/Zone/ZoneFilterPanel.vue index 3a35527ab..bbe12189a 100644 --- a/src/pages/Zone/ZoneFilterPanel.vue +++ b/src/pages/Zone/ZoneFilterPanel.vue @@ -38,7 +38,12 @@ const agencies = ref([]); - - - - +
+
+ + + + +
+
@@ -245,3 +253,20 @@ es: Search zone: Buscar zona You can search zones by id or name: Puedes buscar zonas por id o nombre + + diff --git a/src/pages/Zone/ZoneUpcoming.vue b/src/pages/Zone/ZoneUpcoming.vue index c74ae6078..adcdfbc04 100644 --- a/src/pages/Zone/ZoneUpcoming.vue +++ b/src/pages/Zone/ZoneUpcoming.vue @@ -56,7 +56,7 @@ onMounted(() => weekdayStore.initStore()); - +
{ + const agency = 'inhouse pickup'; beforeEach(() => { cy.viewport(1280, 720); cy.login('developer'); @@ -6,11 +7,15 @@ describe('ZoneList', () => { }); it('should filter by agency', () => { - cy.get('input[aria-label="Agency"]').type('{downArrow}{enter}'); + cy.dataCy('zoneFilterPanelNameInput').type('{downArrow}{enter}'); }); it('should open the zone summary', () => { - cy.get('input[aria-label="Name"]').type('zone refund'); - cy.get('.q-scrollarea__content > .q-btn--standard > .q-btn__content').click(); + cy.dataCy('zoneFilterPanelAgencySelect').type(agency); + cy.get('.q-menu .q-item').contains(agency).click(); + cy.get(':nth-child(1) > [data-col-field="agencyModeFk"]').should( + 'include.text', + agency, + ); }); });