fix: refs #6695 fix e2e's
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2025-02-10 10:57:04 +01:00
parent b8b7af6907
commit 257edbbd13
1 changed files with 3 additions and 6 deletions

View File

@ -329,13 +329,10 @@ Cypress.Commands.add('openUserPanel', () => {
});
Cypress.Commands.add('checkNotification', (text) => {
cy.get('.q-notification', { timeout: 5000 })
cy.get('.q-notification', { timeout: 10000 })
.should('be.visible')
.then(() => {
cy.get('.q-notification')
.filter((_, el) => Cypress.$(el).text().includes(text))
.should('have.length.greaterThan', 0);
});
.filter((_, el) => Cypress.$(el).text().includes(text))
.should('have.length.greaterThan', 0);
});
Cypress.Commands.add('openActions', (row) => {