Search code examples
karateextentreports

Want to skip Background urls in Extent Reporting


I am generating a extent report in Karate where I am displaying url and their status. I want to only show main urls which are in scenario in report and not the background urls. Does anyone know how to achieve that?


Solution

  • Read and understand this section in the docs: https://github.com/intuit/karate#report-verbosity

    One easy way to do this is call another feature in the Background and in that feature have this tag:

    @report=false
    Feature:
    
    Scenario:
    # some background stuff