test: refs #7356 add waitRequest

This commit is contained in:
Javier Segarra 2025-03-26 21:27:48 +01:00
parent e7a501f528
commit 59c08be804
1 changed files with 2 additions and 1 deletions

View File

@ -43,8 +43,9 @@ describe('TicketList', () => {
cy.dataCy('Customer ID_input').clear('1');
cy.dataCy('Customer ID_input').type('1101{enter}');
cy.intercept('GET', /\/api\/Clients\?filter/).as('clientFilter');
cy.get('[data-cy="vnTableCreateBtn"] > .q-btn__content > .q-icon').click();
cy.waitSpinner();
cy.wait('@clientFilter');
cy.dataCy('Customer_select').should('have.value', 'Bruce Wayne');
cy.dataCy('Address_select').click();