Testing the HTTPS links already set the cy.origin() but still show the error that recommand to add cy.origin() #30732
Labels
stage: wontfix
Cypress does not regard this as an issue or will not implement this feature
Current behavior
I already set the cy.origin() command before cy.visit(), but show the error that said should add cy.origin().
Seems cy.origin() didn't work correctly.
I also tried the cy.request() since I just wanted to make sure the social media links worked, without to check the content of the website was correct. But the Facebook link will return the
400: Bad request
code, since the Cypress test browser is in developer mode, so some websites will refuse to access, even if I set my ownclientCertificates
.Desired behavior
cy.origin() should work correctly when I want to check if the website can be accessed.
Test code to reproduce
Cypress Version
13.6.1
Node version
v18.18.0
Operating System
Windows 11
Debug Logs
If I set the YouTube origin link to https://www.youtube.com
Other
No response
The text was updated successfully, but these errors were encountered: