Skip to content

Incorrect JSON report for Cucumber

When running Cucumber tests, we get a JSON file which does not contain JSON, but text with color escape sequences.

The bug is obvious in the code (squashtf\plugins\cucumber\implementation.py):
image

The bug has always be present (introduced in https://gitlab.com/opentestfactory/orchestrator/-/commit/3326a0974dd931897ae3dcce52598ee2f05a4e6d).

I propose to simply remove the creation of the JSON file. There seems to be no point to generate this one.

Edited by Laurent Mazuré