diff --git a/test/cypress/integration/wagon/wagonCreate.spec.js b/test/cypress/integration/wagon/wagonCreate.spec.js index 501375d8c..5cdbc8888 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(); }); });