From 007b95a616b1519a4876034e11a6c6460de3efa2 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Mon, 2 Dec 2024 00:50:31 +0100 Subject: [PATCH] test: remove #q- --- src/components/CreateNewCityForm.vue | 2 + src/components/CreateNewPostcodeForm.vue | 6 +-- src/components/CreateNewProvinceForm.vue | 2 + .../vnComponent/VnLocation.spec.js | 50 +++++++++---------- 4 files changed, 31 insertions(+), 29 deletions(-) diff --git a/src/components/CreateNewCityForm.vue b/src/components/CreateNewCityForm.vue index 1cbba42fc..9ab942dda 100644 --- a/src/components/CreateNewCityForm.vue +++ b/src/components/CreateNewCityForm.vue @@ -48,12 +48,14 @@ const onDataSaved = (...args) => { v-model="data.name" :rules="validate('city.name')" required + data-cy="cityName" /> diff --git a/src/components/CreateNewPostcodeForm.vue b/src/components/CreateNewPostcodeForm.vue index 8000aac52..d3d6708f0 100644 --- a/src/components/CreateNewPostcodeForm.vue +++ b/src/components/CreateNewPostcodeForm.vue @@ -129,7 +129,7 @@ async function filterTowns(name) { ref="provincesFetchDataRef" @on-fetch="handleProvinces" :sort-by="['name ASC']" - :limit="2" + :limit="30" auto-load url="Provinces/location" /> @@ -153,7 +153,6 @@ async function filterTowns(name) { @on-data-saved="onDataSaved" >