MinkContext - it is not an interface
vhgomo opened this issue · 2 comments
vhgomo commented
Im implementing behat on symfony 3.4 with mink, i already create the following behat.yml:
default:
extensions:
Behat\Symfony2Extension: ~
Behat\MinkExtension:
goutte: ~
selenium2: ~
base_url: http://mastersymfony.dev/app_dev.php
but when i run behat on cmd i get:
In FeatureContext.php line 12:
Error: FeatureContext cannot implement Behat\MinkExtension\Context\MinkContext - it is not an interface
Any idea of what could be going wrong?
stof commented
Well, check your FeatureContext
class. It looks like you tried to implement MinkContext in it, which makes no sense as this is not an interface but a class.
On a side note, this is an issue related to the MinkExtension of Behat (well, to your own usage of this extension), not to the Mink library, so this is the wrong issue tracker.
vhgomo commented
thanks.