-
-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hello,
I recently came across this issue working on https://github.com/Lombiq/UI-Testing-Toolbox/pull/364/files
When setting OutputFormatter or ResultFileFormatter to JSON the Output and/or ResultFile gets cut off when the source objects gets too large.
This was not happening for me locally on Windows and only appeared during testing in our GitHub action on an Ubuntu runner. After trying to reproduce this locally on Ubuntu I had the same issue, so this definitely does not seem to be happening on Windows at all but only on Ubuntu 22.04 (And possibly other distros but this is the only one tested for now).
For now we have a small workaround to add missing tokens back to the JSON before parsing since we don't really care about the source object anyway but would love to hear if there is a better solution for this. https://github.com/Lombiq/UI-Testing-Toolbox/pull/364/files#diff-67847fe58db929ae56cd24e4ba914c28af919cdf0272fd3cbf193c995d2666aeR39