Hi,
Are you observing any issue related to Intellij showing steps as Undefined.?
I upgraded my cucumber-groovy , cucumber-core & cucumber-junit to 5.1.3 and observing this problem. Earlier I was using cucumber 1.25 and everything was working fine.
Any pointers will be great help.
Thanks!