Skip to content

Incorrect linking of steps when multiple projects are open #41

@JTuckett

Description

@JTuckett

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions