-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Cannot recognize superdomain with multiple levels subdomain #380
Comments
I've investigated this, and the problem is fairly simple but the solution will take a bit of work. Basically we need to be as intelligent as the browser itself when parsing apart the domain into So to do this "right" we're going to have to move logic out of the driver and make async calls to the backend to parse it correctly. This will require some internal API changes since we synchronously parse URL's all over the place in the driver. |
* server: fixes #802 and fixes #380 and fixes #402 and fixes #493 and fixes #1161 - use the public suffix when parsing tld’s so that document.domain is set correctly * driver: move location spec back into cypress tests * server, driver: fixes: #600 and fixes #1175 use public suffix for parsing tld, handle multiple different subdomains on cy.visit
Released in |
Our url is xxx.xxx.xxx.com.au, before each test case, all the cookies under xxx.com.au should be clean, but they are always there, I tried using cy.clearCookies, but didn't work.
The text was updated successfully, but these errors were encountered: