test: refs #8626 refactor notification check in routeList.spec.js
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Jose Antonio Tubau 2025-02-20 07:11:09 +01:00
parent 8b9408d0fb
commit 4a8bc0c478
1 changed files with 1 additions and 3 deletions

View File

@ -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');
});