Open
Description
π What did you see?
LSP don't recognize context having token defined. This is a scenario I have:
Scenario: User is an committee member
Given user is an committee
And I authenticate
Then I get redirected to "/committee" β Undefined step: I get redirected to "/committee"
And here the related contexts:
/**
* @Given user is an committee
*/
public function userIsAnCommittee()
{
throw new PendingException();
}
/**
* @Given I authenticate
*/
public function iAuthenticate()
{
throw new PendingException();
}
/**
* @Then I get redirected to :arg1
*/
public function iGetRedirectedTo($arg1)
{
throw new PendingException();
}
β What did you expect to see?
The first two contexts are recognised by the lsp and I can jump to their definition, but not the third one. I tried without the surrounding double quotes but it has the same effect.
π¦ Which tool/library version are you using?
Cucumber Language Server 1.6.0
π¬ How could we reproduce it?
No response
π Any additional context?
No response