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

Categories results are not updated properly #710

Closed
Prakash-Saravanan opened this Issue Nov 29, 2016 · 5 comments

Comments

Projects
None yet
4 participants
@Prakash-Saravanan

Prakash-Saravanan commented Nov 29, 2016

In version 3.0.1, test fails but category is passed.
ice_screenshot_20161129-191444
ice_screenshot_20161129-191516
ice_screenshot_20161129-191537

@joeljohnson00

This comment has been minimized.

Show comment
Hide comment
@joeljohnson00

joeljohnson00 Dec 6, 2016

I too have the same problem.Please fix this

joeljohnson00 commented Dec 6, 2016

I too have the same problem.Please fix this

@email2vimalraj

This comment has been minimized.

Show comment
Hide comment
@email2vimalraj

email2vimalraj Dec 19, 2016

Collaborator

@Prakash-Saravanan or @joeljohnson00 : Help us with the sample code which we can reproduce your problem. The screenshots alone may not help us very much. Hope you guys understand.

Collaborator

email2vimalraj commented Dec 19, 2016

@Prakash-Saravanan or @joeljohnson00 : Help us with the sample code which we can reproduce your problem. The screenshots alone may not help us very much. Hope you guys understand.

@Prakash-Saravanan

This comment has been minimized.

Show comment
Hide comment
@Prakash-Saravanan

Prakash-Saravanan Dec 26, 2016

public static void main(String[] args) {
		ExtentReports report = new ExtentReports();
		report.attachReporter(new ExtentHtmlReporter("ExtentReport.html"));
		ExtentTest test = report.createTest("Class1");
		ExtentTest test1 = test.createNode("Test1").assignCategory("smoke", "regression", "integration").assignAuthor("author");
		test.createNode("Test2").fail("fail");
		test.createNode("Test2").fail("fail");
		test.createNode("Test2").fail("fail");
		test.createNode("Test2").fail("pass");
		test.createNode("Test3").fail("fail");
		test1.fail(new Exception("Intentional"));
		report.flush();
	}

Prakash-Saravanan commented Dec 26, 2016

public static void main(String[] args) {
		ExtentReports report = new ExtentReports();
		report.attachReporter(new ExtentHtmlReporter("ExtentReport.html"));
		ExtentTest test = report.createTest("Class1");
		ExtentTest test1 = test.createNode("Test1").assignCategory("smoke", "regression", "integration").assignAuthor("author");
		test.createNode("Test2").fail("fail");
		test.createNode("Test2").fail("fail");
		test.createNode("Test2").fail("fail");
		test.createNode("Test2").fail("pass");
		test.createNode("Test3").fail("fail");
		test1.fail(new Exception("Intentional"));
		report.flush();
	}
@email2vimalraj

This comment has been minimized.

Show comment
Hide comment
@email2vimalraj

email2vimalraj Dec 27, 2016

Collaborator

@Prakash-Saravanan - This is a bug.

@anshooarora - Kindly verify and mark it as a bug.

Collaborator

email2vimalraj commented Dec 27, 2016

@Prakash-Saravanan - This is a bug.

@anshooarora - Kindly verify and mark it as a bug.

@anshooarora anshooarora added the bug label Dec 28, 2016

@anshooarora

This comment has been minimized.

Show comment
Hide comment
@anshooarora

anshooarora Dec 28, 2016

Owner

Thank you.

Fix will be available in the next version.

Owner

anshooarora commented Dec 28, 2016

Thank you.

Fix will be available in the next version.

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