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

How to configure Serenity 4 for retry failed specific tests? #3427

Closed
Darenth opened this issue Mar 28, 2024 · 1 comment
Closed

How to configure Serenity 4 for retry failed specific tests? #3427

Darenth opened this issue Mar 28, 2024 · 1 comment

Comments

@Darenth
Copy link

Darenth commented Mar 28, 2024

What happened?

Hello, I'm wondering how to configure Serenity 4 to rerun failed specific tests. I mean for example only if the test failed by TimeoutException.
I know that this topic was raised a long time ago, but there is no clear answer how to configure Serenity.
I tried running tests from maven using -DrerunFailingTestsCount=2 and it reruns tests but Serenity see doesn't see the latest result.

What did you expect to happen?

To have a configuration for rerunning failed tests with specific criteria.

Serenity BDD version

4.0.29

JDK version

11

Execution environment

No response

How to reproduce the bug.

I don't know how to reproduce it

How can we make it happen?

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

@Darenth Darenth changed the title Hot to configure Serenity 4 for retry failed specific tests? How to configure Serenity 4 for retry failed specific tests? Mar 28, 2024
@Darenth
Copy link
Author

Darenth commented Apr 18, 2024

Can be closed, as Serenity doesn't allow to rerun failed tests

@Darenth Darenth closed this as not planned Won't fix, can't repro, duplicate, stale Apr 18, 2024
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