I was developing a feature that redirects users to profiles on various platforms.
And to test this, I wrote the following code using the newly released cy.origin
yesterday.
cy.origin('www.example.com', () => {
cy.visit('/username')
})
However, github and twitter were successfully redirected, but linkedin was not the only one.
I think the problem is caused by the user agent. Is there any way to solve this problem?