From fe8e95368190d005db5d27f86f73e326dd319d51 Mon Sep 17 00:00:00 2001 From: jtubau Date: Wed, 5 Feb 2025 12:35:49 +0100 Subject: [PATCH] fix: refs #8484 update selector for removing wagon type in wagonCreate.spec.js --- test/cypress/integration/wagon/wagonCreate.spec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/cypress/integration/wagon/wagonCreate.spec.js b/test/cypress/integration/wagon/wagonCreate.spec.js index 501375d8cd..5cdbc88887 100644 --- a/test/cypress/integration/wagon/wagonCreate.spec.js +++ b/test/cypress/integration/wagon/wagonCreate.spec.js @@ -18,6 +18,7 @@ describe('WagonCreate', () => { ).type('100'); cy.dataCy('Type_select').type('{downarrow}{enter}'); // // Delete wagon type created - cy.get('[to="/null/1"] > .q-card > .column > [title="Remove"]').click(); + cy.get('.q-card').first().find('[title="Remove"] .q-icon').click(); + //cy.get('[title="Remove"] > .q-btn__content > .q-icon').click(); }); });