From 8deeae8e9c67c66d6a36c2d135a049e8ead6602c Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Sat, 23 Nov 2024 01:21:21 +0100 Subject: [PATCH] test: inprove test --- test/cypress/integration/item/ItemFixedPrice.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cypress/integration/item/ItemFixedPrice.spec.js b/test/cypress/integration/item/ItemFixedPrice.spec.js index 3a40ea57b..2ffdb93d7 100644 --- a/test/cypress/integration/item/ItemFixedPrice.spec.js +++ b/test/cypress/integration/item/ItemFixedPrice.spec.js @@ -21,8 +21,8 @@ describe('Handle Items FixedPrice', () => { cy.get('.q-page-sticky > div > .q-btn > .q-btn__content > .q-icon').click(); cy.selectOption(`${firstRow} > :nth-child(2)`, '#13'); - cy.get(`${firstRow} > :nth-child(4)`).type('1'); - cy.get(`${firstRow} > :nth-child(5)`).type('2'); + cy.get(`${firstRow} > :nth-child(4)`).find('input').type(1); + cy.get(`${firstRow} > :nth-child(5)`).find('input').type('2'); cy.selectOption(`${firstRow} > :nth-child(9)`, 'Warehouse One'); cy.get('.q-notification__message').should('have.text', 'Data saved'); /* ==== End Cypress Studio ==== */