Skip to content

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

@shwetaneelsharma

Description

@shwetaneelsharma

@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions