When I try to run a single cucumber scenario from a .feature file in IntelliJ 2020,1 (latest EAP), the output says that the scenario and each of its steps are undefined.
The test works fine when I run build from the Gradle tool window (project uses Gradle Wrapper 6.2.2), so I assume that the Gradle build script sets up Cucumber, yet that setup isn't run by IntelliJ whenever a user runs a single scenario.
How can I fix this?
I have the Cucumber for Groovy, Cucumber for Kotlin & Cucumber for Java plugins enabled.
The implementation code is in Groovy.