diff --git a/test/cypress/integration/route/routeList.spec.js b/test/cypress/integration/route/routeList.spec.js index 5b53be2de..ad1a56fd3 100644 --- a/test/cypress/integration/route/routeList.spec.js +++ b/test/cypress/integration/route/routeList.spec.js @@ -26,9 +26,7 @@ describe('Route', () => { cy.dataCy('FormModelPopup_save').should('be.visible').click(); - cy.get('.q-notification__message') - .should('be.visible') - .should('have.text', 'Data created'); + cy.checkNotification('.q-notification__message', 'Data created'); cy.url().should('include', '/summary'); });