Skip to content
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

SparkReporter filter doesn't show the test counts correctly #312

Open
onimalarat opened this issue Jul 10, 2021 · 0 comments
Open

SparkReporter filter doesn't show the test counts correctly #312

onimalarat opened this issue Jul 10, 2021 · 0 comments

Comments

@onimalarat
Copy link

Steps:

  1. Use below code to filter report by status
ExtentSparkReporter failedReport = new ExtentSparkReporter(reportDir + FILE_SEPARATOR + EXTENT_REPORT_PREFIX + timestamp + ".html")
                .viewConfigurer()
                .viewOrder()
                .as(new ViewName[] {DASHBOARD, TEST, CATEGORY, EXCEPTION})
                .reporter()
                .filter()
                .statusFilter()
                .as(new Status[] { Status.FAIL })
                .apply();
  1. Open the html report
  2. Check the counts

Actual:
Counts are incorrect

Expected:
Counts should be correct

Screenshot:
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant