Closed manojvenkatap closed 10 months ago
hi @manojvenkatap, could you take a screenshot of your current reprot? so I can understand what issue you face now.
I have ran the tests that are having only @smoke in the test name. I want to see only these tests in the report excluding the pending suites and tests
I have ran the tests that are having only @smoke in the test name. I want to see only these tests in the report excluding
Got it, I can add a simple filter to not show all skipped tests in Details table, but the counts of all tests will still including skipped tests. because the result was given by Jest. is this will meet you request?
Adding an filter at details table
yes, we can have option like hide skipped
, next to show execution time, expand all. Also there should be an option to configure in the jest config.
Regarding count I understand that the it is reading the jest result and showing the count. but will there be a possibility to do simple mathematical calculation using javascript on change event like When hide skipped turned on It should subtracting total tests - pending tests, so the total tests will be 1 When hide skipped turned off It should do addition of total tests + pending tests so the total tests will be 4
hi @manojvenkatap ,you can trying the new version v3.1.6
with stripSkippedTest
configs.
hi @manojvenkatap ,you can trying the new version
v3.1.6
withstripSkippedTest
configs.
Sure will try that
@Hazyzh This helps, it hides the tests that are pending in the details table view. But will there be a possibility to update the global count total tests. Currently, it is showing 4, ideally it should show total tests minus pending tests. That will give a more sense when the leadership team look at the report.
@Hazyzh see this is the case, i ran only one case that have the test name containing @smoke
. in this case it is clear in the details section but when we look at the global counts it is giving a sign that it verified around 400 tests and 22 suites. but actually it verified one suite and one test
@Hazyzh see this is the case, i ran only one case that have the test name containing
@smoke
. in this case it is clear in the details section but when we look at the global counts it is giving a sign that it verified around 400 tests and 22 suites. but actually it verified one suite and one test
https://github.com/Hazyzh/jest-html-reporters/pull/301 got it, trying fix this issue in new version, plz trying using the latest version 3.1.7 .
@Hazyzh sure will check it
This is perfect. Thanks a lot
Is your feature request related to a problem? Please describe. I am executing the tests based on the test name contains a word as smoke, regression. In this case out 10 tests it will execute only 2-3 tests that is having work smoke and regression, but in the report it is showing other tests as pending which is not needed to be shown as per my required execution.
Describe the solution you'd like we need to have an option in the test config as
statusIgnoreFilter: 'pending'
. This will skip the pending suites and tests in the report and it will have a clear report only with failures and passes testsDescribe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.