I am getting this issue when using `cy.origin` `...
# e2e-testing
a
I am getting this issue when using
cy.origin
Copy code
it('Validates receipts can be viewed and user can access to it', () => {
       //Click on View button
        cy.get('mat-cell a').first()
          .click()
        cy.origin('https://invoice.stripe.com/i/acct_189LShGXMLuHtlf8/test_YWNjdF8xODlMU2hHWE1MdUh0bGY4LF9McE5GcDkxdzhPR2tTU3M3R2YyTWZWTHp6bFRNaVYzLDQ1MDg2ODg10200HKSHE6Qt?s=ap'), () =>{
            cy.get('[colspan="2"]')
              .should('be.visible')
        }
g
Hey Karla. This looks like a syntax issue with a
)
terminating
cy.origin
prematurely. Can you remove it and let me know how it goes?
a
Hey, yes, I removed it, and it worked
thank you very much
5 Views