[deleted] #22039
Unanswered
ludoluds
asked this question in
Questions and Help
[deleted]
#22039
Replies: 1 comment
-
This is not an ideal solution, you're definitely better off in the long run changing your code to pull from a specific window context rather than if (window.Cypress) {
window.top.myImportantFunctions = window.myImportantFunctions;
window.top.myOtherObject = window.myOtherObject;
} I imagine this puts you at some real risk of memory leaks in your application under test, but it's what we're using to get unblocked while we work on ripping out all of the window.top in our code |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
[deleted]
Beta Was this translation helpful? Give feedback.
All reactions