My test runs with cypress (https://www.cypress.io/ ) produce output that looks like this:
The same output as seen from my terminal emulator looks correct:
(Image redacted because new users can’t put more than one image in a post!!!??!?!?!??! )
Is there some configuration of travis’s terminal emulator that I am missing? or is this is a bug in travis?
If your output relies on certain ANSI sequences to move the cursor to paint the pretty pictures, those will not work, as our logs are streams, not real terminals.
I believe this is a manifestation of
So I have two multiline javascript strings which should be equal that I am comparing. However, Travis is interpreting one of the strings with multiple replacement characters (�).
I’m guessing it might have something to do with utf8 encoding. The table characters like https://graphemica.com/┘ are represented with 3 bytes but utf8 encodes characters with 1 byte (8 bits).
Here is an example of what the string looks like:
Listing open pull requests on protoEvangelion/gh
protoEvangelion/gh…
AFAICS with the latest changes to the Web UI, Travis log view does attempt to emulate terminal control characters but they still get distorted sometimes.