https://cypress.io logo
List of failed test cases
# i-need-help
g
I know there must be many ways to do this, but is there an easy way to get a full list of all failed tests across all spec files? e.g. in the console / terminal output, show Failed tests: Test1 - XXXX Test2 - XXXX Test3 - XXXX ... Currently cypress run shows all information in terminal output including error messages. Sometimes it is too long to extract only failed test names. Cypress open shows all tests in test run, but there doesn't seem to be a filter to quickly get failed tests. Also it only shows one spec at a time. Is there a better way? Thanks
b
Depending on exactly what you need, you can use the
min
included reporter from mocha (https://mochajs.org/#min) to get close to what you want.
g
ok i will take a look. thanks