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

Serenity+Junit 5+restassured issue #2788

Open
kasiablk opened this issue Apr 20, 2022 · 2 comments
Open

Serenity+Junit 5+restassured issue #2788

kasiablk opened this issue Apr 20, 2022 · 2 comments

Comments

@kasiablk
Copy link

Serenity version: 3.2.4
Restassured: 5.0.1
Junit: 5.8.2

When using @DisplayName annotation in test, eg.
@test
@DisplayName("Testname")

Whenever exception/error (like assertion of http code or unrecognized property exception, during mapping response to object) happens, it is ignored, but shown as GREEN, passed, although other steps were not executed.

This is serious blocker, due to false positives in tests.

@kasiablk
Copy link
Author

Generaly with this setup, If assertion error happens inside the step it is ignored:/

@wakaleo
Copy link
Member

wakaleo commented Apr 21, 2022

I can't reproduce this. If it is a serious blocker for you, please feel free to reach out directly to raise a support ticket or get one of the commercial support packages.

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

2 participants