From b44dcdb28af1c42c8eb152e2fc667341efe2a7f6 Mon Sep 17 00:00:00 2001 From: jorgep Date: Mon, 11 Mar 2024 15:17:49 +0100 Subject: [PATCH] fix: refs #5186 tests --- src/pages/Parking/Card/ParkingBasicData.vue | 5 ++-- .../integration/parking/parkingList.spec.js | 3 +-- test/cypress/integration/vnSearchBar.spec.js | 22 ++++++++--------- test/cypress/support/commands.js | 24 ++++++++++--------- 4 files changed, 28 insertions(+), 26 deletions(-) diff --git a/src/pages/Parking/Card/ParkingBasicData.vue b/src/pages/Parking/Card/ParkingBasicData.vue index d7d9f4002..72f19a5e7 100644 --- a/src/pages/Parking/Card/ParkingBasicData.vue +++ b/src/pages/Parking/Card/ParkingBasicData.vue @@ -13,16 +13,17 @@ const { t } = useI18n(); const route = useRoute(); const parkingId = route.params?.id || null; const sectors = ref([]); +const sectorFilter = { fields: ['id', 'description'] }; const filter = { fields: ['sectorFk', 'code', 'pickingOrder', 'row', 'column'], - include: [{ relation: 'sector', scope: { fields: ['id', 'description'] } }], + include: [{ relation: 'sector', scope: sectorFilter }], };