setono/sylius-behat-pack
Dev pack for running Behat tests in Sylius apps and plugins. Pulls in common Behat/Mink tooling and documents a JS-enabled setup using Chromedriver, Selenium, and the Symfony CLI web server for test environments.
sylius-fixtures for test data; Laravel uses factories/seeding.sylius/behat-contexts) may conflict with Laravel’s service container.sylius/sylius, symfony/*@4.4), which may conflict with Laravel’s Symfony 5/6 or Laravel-specific packages.selenium/standalone-chrome).laravel artisan.behat.yml, Behat contexts, and project structure to work with Laravel. Example:
tests/Application directory; Laravel may need a custom structure.sylius-fixtures must be replaced with Laravel’s factories or a hybrid approach.composer require --dev setono/sylius-behat-pack
# Dockerfile for Selenium
FROM selenium/standalone-chrome:latest
tests/Application if needed (or create a Laravel-compatible alternative).- name: Start Selenium
uses: shimataro/gh-action-selenium@v1
with:
version: 4.1.2
- name: Run Behat
run: vendor/bin/behat --config=behat.yml
composer.json:
"conflict-resolution": {
"prefer-lowest": false,
"prefer-stable": true,
"prefer-fully-resolved": true
}
laravel/dusk).app()).How can I help you explore Laravel packages today?