-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Constant changes its value within the script visiting cross-domain URLs #20050
Comments
@vovcharenko1 this is a natural consequence of the way Cypress currently works - it only supports visiting 1 superdomain per test: #944 Navigating between superdomains is not explicitly supported. You'll lose your local variables because Cypress has to reload Once multi-domain #17336 is added, you will be able to execute code in a second domain and pass in data from the primary domain. |
Is there any alternative to use variables across domains without values getting changed? @flotwig |
any updates here? |
Current behavior
Expected result: The test log contains 3 same values of the constant.
Actual result: The test log contains 3 different values of the constant.
Desired behavior
A constant should not change its value in any case
Test code to reproduce
The text was updated successfully, but these errors were encountered: