grasshopper7 / extentreports-cucumber6-adapter

Cucumber-JVM 6 Adapter for Extent Framework
https://ghchirp.online/2098/
MIT License
16 stars 15 forks source link

extent.reporter.spark: Html report contains entire package path for hooks (afterStep, after) #56

Open mdbasheer333 opened 1 year ago

mdbasheer333 commented 1 year ago

When we use after, afterStep hooks for screenshot purpose its adding entire package path for hooks to report. How can this be avoided? could you please suggest...! thanks in advance

org.cucumbertaf.stepdefs.hooks.Hooks.afterStep(io.cucumber.java.Scenario) org.cucumbertaf.stepdefs.hooks.Hooks.after(io.cucumber.java.Scenario)

image

grasshopper7 commented 1 year ago

This is the default behavior and no workaround currently available to display only the class & method name.

This will require a user setting which will need to explicitly set to true for the truncated display. I will add it for the next update.

mdbasheer333 commented 1 year ago

Thanks for the reply and enhancement on next update