diff --git a/test/cypress/integration/invoiceIn/invoiceInDescriptor.spec.js b/test/cypress/integration/invoiceIn/invoiceInDescriptor.spec.js index e24aa2bcc..cd8839f9d 100644 --- a/test/cypress/integration/invoiceIn/invoiceInDescriptor.spec.js +++ b/test/cypress/integration/invoiceIn/invoiceInDescriptor.spec.js @@ -78,8 +78,8 @@ describe('InvoiceInDescriptor', () => { it('should navigate to the invoiceIn list', () => { cy.intercept('GET', /api\/InvoiceIns\/1/).as('getCard'); - cy.clicDescriptorAction(3); cy.wait('@getCard'); + cy.clicDescriptorAction(3); cy.url().should('to.match', /invoice-in\/list\?table=\{.*supplierFk.+\}/); }); });