test: refs #8581 update invoiceInList

This commit is contained in:
Jorge Penadés 2025-03-07 11:38:19 +01:00
parent 98541ef7dc
commit 8accf13c04
1 changed files with 1 additions and 1 deletions

View File

@ -105,8 +105,8 @@ describe('InvoiceInList', () => {
});
it('should filter by supplierRef param', () => {
cy.dataCy('Supplier ref_input').type('1234{enter}');
cy.intercept('GET', /\/api\/InvoiceIns\/\d+\/getTotals$/).as('invoice');
cy.dataCy('Supplier ref_input').type('1234{enter}');
cy.wait('@invoice').then(() => cy.validateDescriptor({ title: '1234' }));
});