From 9086735aa1dc1588f4947524b6ba52fba00763e4 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Tue, 20 Aug 2024 08:22:20 +0200 Subject: [PATCH] test: fix routeList --- test/cypress/integration/route/routeList.spec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/cypress/integration/route/routeList.spec.js b/test/cypress/integration/route/routeList.spec.js index afc0fc395..c9d7147c2 100644 --- a/test/cypress/integration/route/routeList.spec.js +++ b/test/cypress/integration/route/routeList.spec.js @@ -10,12 +10,13 @@ describe('Route', () => { it('Route list create route', () => { cy.get('.q-page-sticky > div > .q-btn > .q-btn__content > .q-icon').click(); - cy.get('input[name="description"]').eq(1).type('routeTestOne{enter}'); + cy.get('input[name="description"]').type('routeTestOne{enter}'); cy.get('.q-notification__message').should('have.text', 'Data created'); cy.url().should('include', '/summary'); }); it('Route list search and edit', () => { + cy.get('#searchbar input').type('{enter}'); cy.get('input[name="description"]').type('routeTestOne{enter}'); cy.get('.q-table tr') .its('length')