Skip to content
This repository has been archived by the owner. It is now read-only.

Log messages not displayed for BDD style report #792

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

Log messages not displayed for BDD style report #792

email2vimalraj opened this issue Mar 7, 2017 · 1 comment
Labels

Comments

@email2vimalraj
Copy link
Collaborator

@email2vimalraj 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
Copy link
Owner

@anshooarora 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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.