cheppers / drupal-behat-contexts
Drupal\Extension related contexts
Installs: 28 712
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 2
Open Issues: 18
Requires
- php: >=8.1
- ext-pcre: *
- cweagans/composer-patches: ^1.7
Requires (Dev)
- ext-json: *
- ext-sqlite3: *
- behat/mink: ^1.10
- behat/mink-browserkit-driver: ^2.1
- behat/mink-goutte-driver: ^2.0
- composer/installers: ^2.2
- dmore/behat-chrome-extension: ^1.1
- drevops/behat-screenshot: ^1.2
- drupal/bartik-bartik: ^1.0
- drupal/classy: ^1.0
- drupal/commerce: ^2.36
- drupal/commerce_shipping: ^2.6
- drupal/core-composer-scaffold: ^10.0
- drupal/core-recommended: ^10.0
- drupal/drupal-extension: ^5.0
- drupal/seven: ^1.0
- drush/drush: ^12
- nuvoleweb/drupal-behat: ^1.3
- oomphinc/composer-installers-extender: ^2.0
- phpunit/phpunit: ^9.5 | ^10.4
- squizlabs/php_codesniffer: ^3.2
- symfony/phpunit-bridge: ^6.0
This package is auto-updated.
Last update: 2024-11-27 13:48:01 UTC
README
Getting started
- Run
git clone https://github.com/Cheppers/drupal-behat-contexts.git
- Run
cd drupal-behat-contexts
- Run
composer install
- Run
composer run drupal:install
- Run
chrome --headless --remote-debugging-port=9222
- Run
cd tests/fixtures/project_01/docroot && php -S localhost:8888 .ht.router.php
- If the port
8888
is in use, change it to another one. In this case you have to change it intests/behat/behat.local.yml:5
as well!
- If the port
- Run
cd "$(git rev-parse --show-toplevel)"
- Run
cd tests/behat && phpdbg -qrr ../../bin/behat --config=behat.yml --strict --colors --verbose