From 3a590d563925d28c654a7b7cbb76192bd99d0272 Mon Sep 17 00:00:00 2001 From: alexm Date: Fri, 14 Mar 2025 13:24:06 +0100 Subject: [PATCH] test: update assertion to use contain.text for price validation --- test/cypress/integration/ticket/ticketSale.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cypress/integration/ticket/ticketSale.spec.js b/test/cypress/integration/ticket/ticketSale.spec.js index 514c50281..6d84f214c 100644 --- a/test/cypress/integration/ticket/ticketSale.spec.js +++ b/test/cypress/integration/ticket/ticketSale.spec.js @@ -23,7 +23,7 @@ describe('TicketSale', () => { cy.get('[data-col-field="price"]') .find('.q-btn > .q-btn__content') - .should('have.text', `€${price}`); + .should('contain.text', `€${price}`); }); it('update discount', () => { const discount = Math.floor(Math.random() * 100) + 1;