Serenity incorrect percentage calculation while running with tags in cucumber examples #2702
ck-chandru posted onGitHub
Hi,
I have integrated serenity with cucumber and I tagged my Examples in feature file based on TestType, Region & TransferType. Attached the sample feature file.
I am using serenity 3.1.20 version.
I am running the test using below command which execute only the examples from Asia region. mvn clean verify -Dtags="Region:Asia"
Issue: As per the feature file attached, I have totally 5 rows in example table, but the serenity report shows only 3. @TestType=Regression @Region=Asia @TransferType=Manual Examples: |Column1|Column2|Column3| |Value |Value |Value | |Value |Value |Value |
@TestType=Regression @Region=Asia @TransferType=Auto
Examples:
|Column1|Column2|Column3|
|Value |Value |Value |
|Value |Value |Value |
|Value |Value |Value |
Number of test passed is 5
But the total number of test is showing only 3, because of which the pass % age is showing more than 100.