You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Method \Codeception\Module\REST::_failed should take into account shortDebugResponse setting before adding "body" report. Otherwise test output becomes quite unreadable (in case of long responses) even if shortDebugResponse was set to true. Or maybe better create new setting for shortening "body" report (something like shortResponseBody: true). Another solution could be making \Codeception\Test\Metadata::$reports field write-accessible, to allow shortening it in \Codeception\Module::_failed hook
The text was updated successfully, but these errors were encountered:
Method
\Codeception\Module\REST::_failed
should take into accountshortDebugResponse
setting before adding "body" report. Otherwise test output becomes quite unreadable (in case of long responses) even ifshortDebugResponse
was set to true. Or maybe better create new setting for shortening "body" report (something likeshortResponseBody: true
). Another solution could be making\Codeception\Test\Metadata::$reports
field write-accessible, to allow shortening it in\Codeception\Module::_failed
hookThe text was updated successfully, but these errors were encountered: