oro-behat-testing
Installation
SKILL.md
OroCommerce v6.1 Behat Integration Testing
Oro extends Behat with auto-discovered suite configuration, element abstractions over Mink, Alice fixture loading, feature-tag-driven service mocking, and automatic database isolation. A bundle's Behat assets live under Tests/Behat/ — suite config, contexts, elements, page objects, and Alice fixtures. The entry point is the bundle's Tests/Behat/behat.yml, which Oro's extension discovers at boot time. No per-project registration is required for the common case.
Canonical Suite Config
This is the reference Tests/Behat/behat.yml combining suite, shared contexts, elements, and a page object:
oro_behat_extension:
shared_contexts:
- Oro\Bundle\TestFrameworkBundle\Tests\Behat\Context\OroMainContext