extentreports-java icon indicating copy to clipboard operation
extentreports-java copied to clipboard

Report not defaulting to dashboard view on open

Open richmondkaalia opened this issue 8 years ago • 2 comments

Summary

I have the below code in extent-config.xml file:

<scripts>
	<![CDATA[ $(document).ready(function() {$('.dashboard-view).click();});]]>
</scripts>

However, the report is not defaulting to the dashboard view on opening. What am I doing wrong?

Environment Details

  • Extent report Version used: 3.0.7
  • Operating System and version: Windows 10
  • JDK Version: 1.8

richmondkaalia avatar Sep 22 '17 20:09 richmondkaalia

Could anyone please help me out on this?

richmondkaalia avatar Sep 27 '17 14:09 richmondkaalia

Try this, the styles have changed in 3.1.0:

$('.waves-effect:nth-child(3) a:nth-child(1) i:nth-child(1)').click();

carlc986 avatar Nov 30 '17 15:11 carlc986