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

Test Not Executing from Run Option in IntelliJ , Getting No Base Step Listener Error #3152

Open
gem-akhil-singh opened this issue Jun 12, 2023 · 1 comment

Comments

@gem-akhil-singh
Copy link

Hi ,
I am getting Following Error while executing testcases from Run Button in IntelliJ which comes in front of each Scenario in Cucumber file ,
java.lang.NullPointerException: No BaseStepListener has been registered - are you running your test using the Serenity runners?

@wakaleo
Copy link
Member

wakaleo commented Jun 16, 2023

You need to run the tests using a Java runner, or you can try this: https://johnfergusonsmart.com/running-cucumber-serenity-feature-files-directly-intellij/

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