gorghoa / ScenarioStateBehatExtension

Provide a way to share scenario state through steps
MIT License
33 stars 7 forks source link

[BUG] it seems that the extension is not working anymore using the Annotations #35

Closed Simperfit closed 7 years ago

Simperfit commented 7 years ago

using the Annotations it seems that it is not working for exemple I get this error :

  [Behat\Testwork\Argument\Exception\UnknownParameterValueException]                                                
  Can not find a matching value for an argument `$createdUsers` of the method `UserContext::iGetAnExistingUser()`.  

With symfony 3.3, behat 3.3.1, api-platform 2.1

gorghoa commented 7 years ago

Thanks for your report @Simperfit, Can you post a more extensive code sample triggering the issue?

Does your class implements ScenarioStateAwareContext?

Simperfit commented 7 years ago

It seems that there were another thing behind this issues, this seems to work now.

gorghoa commented 7 years ago

👍