Closed ragnarok66 closed 5 months ago
Hey @ragnarok66: 👋 - Thanks for helping to make the reporter better by raising this ticket. I will take a look as soon as I can and get back to you. Cheers, Danny.
Hey @ragnarok66
As your custom template is different, you need to share the full file rather than a some section from it.
This is not steps to reproduce the behaviour:
npx newman run sweet/collections/Sweet.postman_collection.json --folder "Verify the sweets" --delay-request 1000 --environment sweet/environments/QAB.postman_environment.json --insecure -r cli,htmlextra --reporter-htmlextra-template sweet/template/batman.hbs --reporter-htmlextra-export testArtifacts/sweet.html --reporter-htmlextra-title "Regression-Tests-sweets" --reporter-htmlextra-browserTitle "Sweet" --reporter-htmlextra-logs --reporter-htmlextra-noSyntaxHighlighting --reporter-htmlextra-showGlobalData
I don't have access to any of that.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Is There An Existing Issue
What Are You Seeing
Hi,
I am using custom report and I am trying to filter and show only failed requests. In my case, the tests are the requests, because in the structure each folder is a test case.
In the screenshot bellow is visible that in the nav bar the "Total Tests" and "Failed Tests" shows correct number.
My problem is that I have no idea how to filter only the failed requests in "Failed Tests".
I am using this code to show the failed tests (requests): `{{#each aggregations}} {{#if parent.name}}
{{/each}} `
Any help and advice is more then welcome.
Note: This is not a bug in the original report.
Steps To Reproduce The Issue
It can be generated with the command from "Full Newman Command Or Node Script" section.
Full Newman Command Or Node Script
HTMLEXTRA Version
1.23.0
Newman Version
6.1.0
Additional Context
I cannot find any information about how to iterate between aggregations. What aggregation contains and how to filter information from it ?