IntelliJBehave icon indicating copy to clipboard operation
IntelliJBehave copied to clipboard

Incorrect linking of steps when multiple projects are open

Open JTuckett opened this issue 6 years ago • 0 comments

Problem exists when multiple projects are open: Example: Project1 has story (and appropriate definitions): Given The calling application is authorized Then I should receive a status code of 200

Project2 has story (and appropriate definitions): Given The calling application is authorized When the users have been inserted Then do some work

Project 1 has no errors displayed in the stories Project 2 has a step that uses exactly the same words as project 1 (Given The calling app....) but the definition of that step in each project is different. Project 2 displays errors "No Definition Found for the step" on the 2 steps after the authorization.
I follow the usage of Given command in project 2 to see where the plugin is finding the definition. I am taken to the definition in Project 1 even though these projects are not linked in any way. They are simply open in intelij at the same time. The definition files in project 2 are not linked with the stories in project 2.

If I close out one of the projects and restart intellij, the problem goes away.

JTuckett avatar Dec 04 '19 16:12 JTuckett