test: refs #7356 add waitRequest
This commit is contained in:
parent
e7a501f528
commit
59c08be804
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue