diff --git a/test/end-to-end/cypress/payment-spec.cy.js b/test/end-to-end/cypress/payment-spec.cy.js index 4bd9e631..163bee47 100644 --- a/test/end-to-end/cypress/payment-spec.cy.js +++ b/test/end-to-end/cypress/payment-spec.cy.js @@ -63,9 +63,8 @@ describe("payment spec", () => { ); // Assert invoice link takes you to the invoice page. - cy.get('[data-test="invoice-link"]') - .click() + cy.get('[data-test="invoice-link"]').click(); - cy.url().should('include', '/invoice') + cy.url().should("include", "/invoice"); }); });