Skip to content

Authors category is not displaying in left section #187

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

Closed
qatestingravi opened this issue Jun 10, 2020 · 1 comment
Closed

Authors category is not displaying in left section #187

qatestingravi opened this issue Jun 10, 2020 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@qatestingravi
Copy link

Description: create any test and assign author

Expected:
Authors category should be displayed in left section

Actual:
Authors category is not displaying in left section

Verified in below versions
4.0.9 : its working
4.1.9 : its not working

++++++++++++++++++++++++++++++++ Used below code for 4.0.9 version

	String resultFileName = System.getProperty("user.dir") + "/reports/" +    System.currentTimeMillis() + ".html";
	ExtentHtmlReporter reporter = new ExtentHtmlReporter(resultFileName);
	ExtentReports extent = new ExtentReports();
	extent.attachReporter(reporter);
	System.out.println("resultFileName: " + resultFileName);
	extent.setSystemInfo("OS", "windows");

	spark.config().setDocumentTitle("Automation");
	ExtentTest test = extent.createTest("MyFirstTest");
	test.assignAuthor("ravi");
	test.pass("fist step details");
	extent.flush();

+++++++++++++++++++++++++++++ Used below code for 4.1.6 version

	String resultFileName = System.getProperty("user.dir") + "/reports/" + System.currentTimeMillis() + ".html";
	ExtentSparkReporter spark = new ExtentSparkReporter(resultFileName);
	ExtentReports extent = new ExtentReports();
	extent.attachReporter(spark);
	System.out.println("resultFileName: " + resultFileName);
	extent.setSystemInfo("OS", "windows");

	spark.config().setDocumentTitle("Automation");
	ExtentTest test = extent.createTest("MyFirstTest");
	test.assignAuthor("ravi");
	test.pass("fist step details");
	extent.flush();

++++++++++++++
Author_4 0 9_version working
Author_4 1 6_version_not working

@anshooarora anshooarora added the duplicate This issue or pull request already exists label Jun 11, 2020
@anshooarora
Copy link
Member

This has been addressed in #152 and will be part of 5.0.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants