diff --git a/test/cypress/integration/vnComponent/vnLocation.spec.js b/test/cypress/integration/vnComponent/vnLocation.spec.js index aeb938c6f..06c23f4ee 100644 --- a/test/cypress/integration/vnComponent/vnLocation.spec.js +++ b/test/cypress/integration/vnComponent/vnLocation.spec.js @@ -103,12 +103,12 @@ describe('VnLocation', () => { const province = 'Valencia'; cy.get(createLocationButton).click(); cy.get('.q-card > h1').should('have.text', 'New postcode'); - cy.get(dialogInputs).eq(0).clear(); - cy.get(dialogInputs).eq(0).type(postCode); cy.selectOption( `${createForm.prefix} > :nth-child(4) > .q-select > ${createForm.sufix}`, province ); + cy.get(dialogInputs).eq(0).clear(); + cy.get(dialogInputs).eq(0).type(postCode); cy.get('.q-mt-lg > .q-btn--standard').click(); cy.get(`${createForm.prefix}`).should('not.exist'); cy.waitForElement('.q-form');