Hello,
Here's my POM.xml file dependency. All works fine, but my report has @Before and @After method details part of Extent Report. I would like them to be excluded. Is there any configuration to exclude them from the report?
Scenario: Create Employee(s) and validate the response status code
EmsStepDeps.beforeScenario() --> This I want to exclude from extent report
Given the EMS REST Service API "api/v1/employees" Endpoint to CREATE the Employee record
When client provides the MyFirstName to set on first_name
And client provides the MyLastName to set on last_name
And client provides the myemailid@gmail.com to set on email_id
And client send the "HTTP-POST" request
Then client receives valid response status code as 200
EmsStepDeps.afterScenario() --> This I want to exclude from extent report
Hello, Here's my POM.xml file dependency. All works fine, but my report has @Before and @After method details part of Extent Report. I would like them to be excluded. Is there any configuration to exclude them from the report?
Report:
Scenario: Create Employee(s) and validate the response status code EmsStepDeps.beforeScenario() --> This I want to exclude from extent report Given the EMS REST Service API "api/v1/employees" Endpoint to CREATE the Employee record When client provides the MyFirstName to set on first_name And client provides the MyLastName to set on last_name And client provides the myemailid@gmail.com to set on email_id And client send the "HTTP-POST" request Then client receives valid response status code as 200 EmsStepDeps.afterScenario() --> This I want to exclude from extent report
Any suggestions?