From a2fd01844dcb97b44bbbb337315f8377fb7c3940 Mon Sep 17 00:00:00 2001 From: PAU ROVIRA ROSALENY Date: Wed, 19 Feb 2025 13:45:03 +0000 Subject: [PATCH] fix: fixed wagonTypeCreate test --- .../cypress/integration/wagon/wagonType/wagonTypeCreate.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cypress/integration/wagon/wagonType/wagonTypeCreate.spec.js b/test/cypress/integration/wagon/wagonType/wagonTypeCreate.spec.js index 2cd43984a..49d7d9f01 100644 --- a/test/cypress/integration/wagon/wagonType/wagonTypeCreate.spec.js +++ b/test/cypress/integration/wagon/wagonType/wagonTypeCreate.spec.js @@ -8,7 +8,7 @@ describe('WagonTypeCreate', () => { it('should create a new wagon type and then delete it', () => { cy.get('.q-page-sticky > div > .q-btn').click(); - cy.get('input').first().type('Example for testing'); + cy.dataCy('Name_input').type('Example for testing'); cy.get('[data-cy="FormModelPopup_save"]').click(); cy.get('[title="Remove"] > .q-btn__content > .q-icon').first().click(); });