New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log messages not displayed for BDD style report #792

Closed
email2vimalraj opened this Issue Mar 7, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@email2vimalraj
Collaborator

email2vimalraj commented Mar 7, 2017

I've steps like as follows:

// scenario
ExtentTest scenario = feature.createNode(Scenario.class, "Jeff returns a faulty microwave");
ExtentTest step1 = scenario.createNode(Given.class, "Jeff has bought a microwave for $100");
step1.info("Some message here");
step1.pass("Passed");

The step1 node is created in scenario and marked as pass. However, the info message that I'm logging is not displayed.

However, I'm able to log the info message if I use as follows:

// scenario
ExtentTest scenario = feature.createNode("Scenario: Jeff returns a faulty microwave");
ExtentTest step1 = scenario.createNode("Given: Jeff has bought a microwave for $100");
step1.info("Some message here");
step1.pass("Passed");
@anshooarora

This comment has been minimized.

Show comment
Hide comment
@anshooarora

anshooarora Mar 8, 2017

Owner

Hi Vimal. This is inline with how cucumber works today. None of the pass/info messages will be displayed. Only failures, errors. We can add this as an enhancement for a future version.

Owner

anshooarora commented Mar 8, 2017

Hi Vimal. This is inline with how cucumber works today. None of the pass/info messages will be displayed. Only failures, errors. We can add this as an enhancement for a future version.

email2vimalraj added a commit to email2vimalraj/extentreports-java that referenced this issue Mar 19, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment