-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 5656 Fix validation of cookie domain #5657
Conversation
Thanks for the contribution! Below are some guidelines Cypress uses when doing PR reviews.
PR Review ChecklistIf any of the following requirements can't be met, leave a comment in the review selecting 'Request changes', otherwise 'Approve'. User Experience
Functionality
Maintainability
Quality
Internal
|
Thanks for the PR. The tests that are failing in
|
Hey @Donotello, any updates on the requests made by @flotwig? These changes broke some of our other tests. Will you have time to look at this? |
I think the failures in the tests are just because we don't clear all cookies of all domains after each test (see #408 ), a |
Hi, sorry I was away. I see that tests are passing now. Are we ready to merge? |
User facing changelog
cy.visit
or in acy.request
with a customDomain
that is not a subdomain of the current domain would fail to set.Additional details
Defect introduced in
3.5.0
was fixed by correct usage of 3rd party library (tough-cookie
) method.How has the user experience changed?
N/A
PR Tasks
Not sure what is the right place for the tests. I suggest cypress team itself to decide if tests for these are needed and add them if required.
NOTE: looks like 2 lines change didn't work (though it doesn't seems to me that failures are related to my change). Feel free to close this PR and work on #5656 in a separate one or update this pull request.