cypress json reporter options does not generate output file #12020
Labels
blocked: third-party
outdated
scope: testing tools
Issues related to Cypress / Jest / Playwright / Vitest support in Nx
stale
type: bug
Current Behavior
Run cypress e2e tests with a json reporter and define an output file. The output file is not generated; or, if the file exists, the json output is not written to the file.
Expected Behavior
When setting
--reporter json --reporterOptions output=results.json
, the output file should be generated and contain the results from the test run in JSON format.Steps to Reproduce
Run the e2e suite for a given app. Set the reporter to
json
and reportOptions tooutput=results.json
e.g.
nx e2e my-app-e2e --reporter json --reporterOptions output=results.json
Environment
The text was updated successfully, but these errors were encountered: