You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Serenity 4, Junit 5 Cucumber Runner is throwing exception: java.lang.NullPointerException: No BaseStepListener has been registered - are you running your test using the Serenity runners? getting this error in serenity report for Serenity 4 Junit5 Cucumber testcases
#3549
The testcase is working fine but it is breaking at Serenity.recordReportData().withTitle().andContents() line. In report the error is
**No BaseStepListener has been registered - are you running your test using the Serenity runners? ** and in console it prints current listener is null. We are not using base step listener, we are extending Abstract step Listener in our custom listener.
This is happening only with Serenity 4, Junit 5 cucumber testcase.
What did you expect to happen?
I exepected that serenity report was generated without any error as it is generating for junit 5 testcase.
Serenity BDD version
4.1.14
JDK version
17.0.1
Execution environment
Windows
Browsers - all are giving error
How to reproduce the bug.
Can't share the repository.
How can we make it happen?
Add it to the Serenity BDD backlog and wait for a volunteer to pick it up
The text was updated successfully, but these errors were encountered:
Sure, we can help take a look at that for you. If you have an active commercial support contract, just let me know via email - if not, please take a look at the support options here: https://www.serenitydojo.academy/serenity-bdd-support-packages-page - once you decide the option that would work for you, you can get in touch using the form on the page or email me directly (john.smart[at]wakaleo.com)
What happened?
We are using cucumber runner and our custom listener:
Serenity version: 4.1.14
Serenity-Junit5: 4.1.14
junit-jupiter-engine: 5.10.2
cucumber-core: 7.17.0
Build Tool: Gradle 8.1
The testcase is working fine but it is breaking at Serenity.recordReportData().withTitle().andContents() line. In report the error is
**No BaseStepListener has been registered - are you running your test using the Serenity runners? ** and in console it prints current listener is null. We are not using base step listener, we are extending Abstract step Listener in our custom listener.
This is happening only with Serenity 4, Junit 5 cucumber testcase.
What did you expect to happen?
I exepected that serenity report was generated without any error as it is generating for junit 5 testcase.
Serenity BDD version
4.1.14
JDK version
17.0.1
Execution environment
Windows
Browsers - all are giving error
How to reproduce the bug.
Can't share the repository.
How can we make it happen?
Add it to the Serenity BDD backlog and wait for a volunteer to pick it up
The text was updated successfully, but these errors were encountered: