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

aggregate report does not show @disabled test when tagged with @Displayname #3579

Open
junjek opened this issue Nov 29, 2024 · 0 comments
Open

Comments

@junjek
Copy link

junjek commented Nov 29, 2024

What happened?

I observe the following when I run serenity:aggregate.
When I annotate @Disabled at class and method, they are showing correctly in the report.
When I include @Displayname, they are not shown in report.
Would like to check if this is intentional?

Scenario1: Only @Disabled test
Test 1: @Disabled at class = This ignored test not shown in report
Test 2 @Disabled at method = This ignored test shown in report

Scenario2: @Disabled test && @Displayname
Test 1: @Disabled at class + @Displayname = This ignored test not shown in report
Test 2: @Disabled at method + @Displayname = This ignored test not shown in report

What did you expect to happen?

Report output with @Displayname expect to be same as without @Displayname

Serenity BDD version

4.1.10

JDK version

17

Execution environment

windows, chrome

How to reproduce the bug.

@ExtendWith(SerenityJUnit5Extension.class)
public class example {

@Test
@Disabled
@Displayname
public void exampleTest() {
}
}

How can we make it happen?

Work on this myself and propose a PR (with Serenity BDD team guidance)

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