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
When I am running my tests in local, I cannot see Feature-Scenario steps in my IntelliJ console. Usually you see all Given,When,And,Then steps with each scenario. I am not sure if this option is not available with serenity but I think I have used in Cucumber-Junit framework.
My serenity versions in pom: <serenity.version>2.0.60</serenity.version> <serenity.cucumber.version>1.9.40</serenity.cucumber.version>
And I do have Cucumber-Java Plugin installed in IntelliJ.
And IntelliJ Idea Version - Community 2019 - 192.5728.xx
Could someone advice on this ?
Thanks
Shiva
The text was updated successfully, but these errors were encountered:
IntelliJ will only do that if you run the feature file directly, not via the Junit runner. But you need the Junit runner for Serenity. So at the moment, this isn't supported.
You also may to play with "Use classpath or module" and with "Shorten command line" options (may be different for java 8 and java 11). Also you have to enable some logging framework (I personally use slf4j + log4j2).
In result, you will be able to run cucumber features/scenarios via IDEA plugin from context click and all the logging:
Hello,
When I am running my tests in local, I cannot see Feature-Scenario steps in my IntelliJ console. Usually you see all
Given,When,And,Then
steps with each scenario. I am not sure if this option is not available with serenity but I think I have used in Cucumber-Junit framework.My serenity versions in pom:
<serenity.version>2.0.60</serenity.version> <serenity.cucumber.version>1.9.40</serenity.cucumber.version>
And I do have Cucumber-Java Plugin installed in IntelliJ.
And IntelliJ Idea Version - Community 2019 - 192.5728.xx
Could someone advice on this ?
Thanks
Shiva
The text was updated successfully, but these errors were encountered: