reporter
reporter copied to clipboard
[Jest] parametrized tests with test.each() not displayed in report
Describe the bug Tests defined with test.each([]) do not show the correct number of test cases; only the first one is included in the final report.
To Reproduce
test.each([1, 2, 3, 4, 5])(‘Test with %s parameter @Tae6d2529’, async param => {
expect(param).toBeGreaterThan(0);
})
Screenshots
Actual result with test where added in each [1,2] array, as you can see displayed only first parameter:
Expected result:
Additional context
- reporter version: 2.3.7
Jest result output:
Tests: 11 failed, 571 passed, 582 total
Testomatio run response data:
“automated-count”:566 “passed”:555 “skipped”:0 “failed”:11