Closed SiKing closed 3 years ago
@wakaleo I tried to look at this today - slow day at work. :p
I think the bug is in AsciiColors. My guess is that the return value on L22 should be:
ThucydidesSystemProperty.SERENITY_CONSOLE_COLORS.booleanFrom(environmentVariables, false);
But this made no difference for me.
I think this output comes from the ResultChecker, but changing anything there (like some of the output text) seems to have no effect on the output from my test runs.
Am I way off here?
Even explicitly setting serenity.console.colors = false
has no effect on this.
What am I doing wrong?
I figured out my mistake: I need to build both serenity-core (with the changes), as well as serenity-maven-plugin (which has no changes) with the new serenity-core.
Well, I figured out how to turn off the colours with the MR. But I cannot turn them back on with serenity.console.colors = true
.
I think this problem is mostly resolved.
When I run my tests and produce a Serenity report, the final statistics are colourized.
Unfortunately, when this runs in Jenkins, the final results look something like:
According to documentation, this is supposed to be disabled by default. There is even a comment there: