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

Console formatter processes excess tags from debug responses #3495

Closed
Mitrichius opened this Issue Sep 7, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@Mitrichius
Contributor

Mitrichius commented Sep 7, 2016

I use REST module and receive xml http responses. Some of them contain tag. And with debug module enabled I see red formatted text in the middle of the http response without error tag itself. This is confusing.
I know tags with such formatting are used to improve readability of console output. But can you output responses in «raw» format?

Codeception version 2.2.4

Naktibalda added a commit to Naktibalda/Codeception that referenced this issue Sep 10, 2016

@DavertMik DavertMik closed this in #3507 Sep 13, 2016

DavertMik added a commit that referenced this issue Sep 13, 2016

Escape tags in debug output (#3507)
* Don't interpret tags in output of codecept_debug()

Fixes #3495

* Don't interpret tags in diff output

* Don't interpret tags in certain parts of error output and step output

* Deleted Console::printSkippedTest method, because nothing used it anymore

* Escape tags in failed step

chris1312 added a commit to chris1312/Codeception that referenced this issue Jun 16, 2017

Escape tags in debug output (#3507)
* Don't interpret tags in output of codecept_debug()

Fixes #3495

* Don't interpret tags in diff output

* Don't interpret tags in certain parts of error output and step output

* Deleted Console::printSkippedTest method, because nothing used it anymore

* Escape tags in failed step
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment