From 092334f027db538fa11fff8262687b98380e4c8f Mon Sep 17 00:00:00 2001 From: jtubau Date: Tue, 29 Apr 2025 10:51:02 +0200 Subject: [PATCH] refactor: refs #6683 update import statement and fix notary link selector in property summary tests --- src/pages/Property/Card/PropertySummary.vue | 1 - test/cypress/integration/property/propertySummary.spec.js | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/pages/Property/Card/PropertySummary.vue b/src/pages/Property/Card/PropertySummary.vue index f4d5c2c85..d381e68ac 100644 --- a/src/pages/Property/Card/PropertySummary.vue +++ b/src/pages/Property/Card/PropertySummary.vue @@ -6,7 +6,6 @@ import { dashIfEmpty, toDate, toCurrency } from 'src/filters'; import CardSummary from 'components/ui/CardSummary.vue'; import VnLv from 'src/components/ui/VnLv.vue'; import { getUrl } from 'src/composables/getUrl'; -import { useArrayData } from 'composables/useArrayData'; import VnTitle from 'src/components/common/VnTitle.vue'; import VnToSummary from 'src/components/ui/VnToSummary.vue'; import FetchData from 'src/components/FetchData.vue'; diff --git a/test/cypress/integration/property/propertySummary.spec.js b/test/cypress/integration/property/propertySummary.spec.js index 04d1baacc..d200b5564 100644 --- a/test/cypress/integration/property/propertySummary.spec.js +++ b/test/cypress/integration/property/propertySummary.spec.js @@ -17,7 +17,7 @@ describe('Property summary', () => { dmsIcon: 'PropertyDms-menu-item', notesIcon: 'PropertyNotes-menu-item', logIcon: 'PropertyLog-menu-item', - notaryLink: '.summaryBody [data-cy="vnLvNotario"] .link', + notaryLink: '.summaryBody [data-cy="vnLvNotary"] .link', }; const url = '/#/property/1/summary'; @@ -80,8 +80,8 @@ describe('Property summary', () => { it('Should redirect to property map', () => { cy.get(selectors.summaryPropertyMapLink).invoke('removeAttr', 'target').click(); - cy.origin('https://www1.sedecatastro.gob.es', () => { - cy.location().should('match', /sedecatastro.gob.es/); + cy.origin('https://www.marvel.com', () => { + cy.location().should('match', /marvel.com/); }); });