Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option for setting up Behat and the minimal extensions using init-behat #19

Open
shwetaneelsharma opened this issue Aug 3, 2020 · 0 comments

Comments

@shwetaneelsharma
Copy link

@hussainweb As discussed, it would be good to present an option to set up the Behat structure. I have created a repository here https://github.com/shwetaneelsharma/behatdrupalextension which has all the correct dependencies and a working Behat structure.

Steps:

  • Install composer dependencies.
  • Add the behat.yml file with Mink, Drupal and DMore chrome extension. (@hussainweb Please note that we need "Google chrome or chromium running with remote debugging" for DMore chrome extension)
  • Please verify whether the base_url and api_url have correct values.
  • Either Initialise behat using the command vendor/behat/behat/bin/behat --init or simply import the entire structure from this repository. Please note that initialising behat creates the features and the bootstrap directory.
  • Run the sample feature file using the command vendor/behat/behat/bin/behat.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant