From 6fb160ec8dc1f0bef548612018b2b53d03b6113c Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Mon, 3 Mar 2025 22:01:30 +0100 Subject: [PATCH 1/3] feat: update Cypress configuration and improve ticket components with new features --- cypress.config.js | 1 + src/components/ui/CardDescriptor.vue | 28 +++++++++---------- src/pages/Ticket/Card/TicketSale.vue | 1 + .../integration/ticket/ticketList.spec.js | 18 +++--------- .../integration/ticket/ticketSale.spec.js | 2 +- 5 files changed, 21 insertions(+), 29 deletions(-) diff --git a/cypress.config.js b/cypress.config.js index a9e27fcfd..07b9451e6 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -5,6 +5,7 @@ import { defineConfig } from 'cypress'; export default defineConfig({ e2e: { + defaultBrowser: 'chromium', baseUrl: 'http://localhost:9000/', experimentalStudio: true, fixturesFolder: 'test/cypress/fixtures', diff --git a/src/components/ui/CardDescriptor.vue b/src/components/ui/CardDescriptor.vue index 8ed1fa0fa..8280a6a88 100644 --- a/src/components/ui/CardDescriptor.vue +++ b/src/components/ui/CardDescriptor.vue @@ -200,22 +200,22 @@ const toModule = computed(() => - + #{{ getValueFromPath(subtitle) ?? entity.id }} - - - {{ t('globals.copyId') }} - - + + + {{ t('globals.copyId') }} + +
diff --git a/src/pages/Ticket/Card/TicketSale.vue b/src/pages/Ticket/Card/TicketSale.vue index 456a151a3..2efa2083c 100644 --- a/src/pages/Ticket/Card/TicketSale.vue +++ b/src/pages/Ticket/Card/TicketSale.vue @@ -681,6 +681,7 @@ watch( :disabled-attr="isTicketEditable" >