Skip to content
This repository was archived by the owner on Jul 17, 2020. It is now read-only.
This repository was archived by the owner on Jul 17, 2020. It is now read-only.

Log messages not displayed for BDD style report #792

@email2vimalraj

Description

@email2vimalraj

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");

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions