You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I was trying to install this extension I executed composer require without --dev and for some reason after running that command my local environment gives me an error (no mention in instructions about running composer after editing the json file).
The way I finished installing succesfully this extension was adding the repository in the json file:
"repositories": [
{
"type": "vcs",
"url": "[email protected]:palantirnet/palantir-behat-extension.git"
}
],
And nothing else (no modification in require-dev section).
Finally I run this command: "composer require palantirnet/palantir-behat-extension:dev-master --dev".
This installed succesfully the files in vendor directory.
Another detail: "- Palantirnet\PalantirBehatExtension\Context\DrupalFileContext.php" is missing from the list to add to behat.yml file.
Thanks,
The text was updated successfully, but these errors were encountered:
Ahh, brilliant, this debugging info is super useful. Thank you!
It turns out that your problems are due to several errors in the README -- I've updated it in 3cd762f:
The .php should not be included in the context class names in behat.yml
For Drupal 8 sites, we should install dev-drupal8 rather than dev-master
The thing is, if you DO install the dev-drupal8 branch, all of the methods throw a NotUpdatedException... because they are based on Drupal 7 internals. @labbydev said that you need the "I should see a :label field" method, so I've made PR #30 to update that.
When I was trying to install this extension I executed composer require without --dev and for some reason after running that command my local environment gives me an error (no mention in instructions about running composer after editing the json file).
The way I finished installing succesfully this extension was adding the repository in the json file:
"repositories": [
{
"type": "vcs",
"url": "[email protected]:palantirnet/palantir-behat-extension.git"
}
],
And nothing else (no modification in require-dev section).
Finally I run this command: "composer require palantirnet/palantir-behat-extension:dev-master --dev".
This installed succesfully the files in vendor directory.
Another detail: "- Palantirnet\PalantirBehatExtension\Context\DrupalFileContext.php" is missing from the list to add to behat.yml file.
Thanks,
The text was updated successfully, but these errors were encountered: