-
Notifications
You must be signed in to change notification settings - Fork 4
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
Test hangs on returning domSnapshot #207
Labels
🐛 bug
Something isn't working
Comments
FYI: patching package with a little naive hack to return 1MB chunks of serialized DOM solves it on my end
|
This issue is stale because it has been open for more than 14 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
This issue was closed because it has been stalled for 28 days with no activity. |
still happens 🤷♂️ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem
I deal with a bit bloated DOM, where result of
PercyDOM.serialize(options)
is over 6MB.When I run testcafe with
percySnapshot
it hangs atIf I run
PercyDOM.serialize
in browser console it works blazing fast, and apparentlytestcafe
has a problem with returning larger objects from client function. Not sure what would be the best way to address it, maybe using something likeJSzip
before returning serialized snapshot to compress it.Environment
@percy/cli
version: 1.0.0-beta.76@percy/testcafe
version: 1.0.1The text was updated successfully, but these errors were encountered: