elbformat/sulu-behat-bundle
Adds Behat contexts and helpers for easily setting up tests in Sulu applications, built on symfony-behat-bundle. Configure website or admin context per profile, tag features into suites, and use ready-made contexts for pages, snippets, media, dates, and more.
_webspaceKey and locale support helps PMs justify investment in acceptance tests for multi-site, multi-language content workflows._parentId or _parentSlug.elbformat/symfony-behat-bundle:^1.6 can reduce bespoke fixture code and improve maintainability.Given there is a(n) (:template) page as child of :parentId and the need to move to _parentId or _parentSlug.For executives: This is a major-version upgrade of a Sulu/Behat testing package that improves coverage for modern Sulu content structures, webspaces, and locales. It reduces long-term maintenance of custom CMS test tooling and supports safer CMS upgrades, but it requires migration work because Sulu 2 support is dropped and some step definitions changed. The package is best positioned as a maintained foundation for acceptance testing, not yet a fully complete replacement for every existing scenario.
For engineering: v2.0.0 reworks Page, Article, and Snippet contexts for Sulu’s newer content model, adds better webspace and locale support, and moves argument fetching to a more flexible table/YAML/JSON approach via elbformat/symfony-behat-bundle. The main adoption cost is the BC break: remove reliance on the old child-page step and use _parentId or _parentSlug. Validate existing suites in a branch, pilot critical content scenarios, and track gaps because contexts may not be feature-complete.
How can I help you explore Laravel packages today?