From 4a8bc0c478100133b5bb91aac65ae0cded53ac44 Mon Sep 17 00:00:00 2001 From: jtubau Date: Thu, 20 Feb 2025 07:11:09 +0100 Subject: [PATCH] test: refs #8626 refactor notification check in routeList.spec.js --- test/cypress/integration/route/routeList.spec.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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'); });