drupal / cucumber_starter
The Cucumber site template: the Cucumber Automated Functional Acceptance Testing Management system as a recipe — features with their Gherkin scripts, components, products and projects, the Cucumber user roles and the Cucumber dashboards.
Package info
git.drupalcode.org/project/cucumber_starter.git
Type:drupal-recipe
pkg:composer/drupal/cucumber_starter
Requires
- drupal/core: ^11.4 || ^12
- drupal/cucumber_core: ~12.0
- drupal/cucumber_default_content: ~12.0
- drupal/cucumber_recipes: ~12.0
- drupal/cucumber_ui: ~1.0
- drupal/cucumber_user_roles: ~12.0
- drupal/gin: ^5
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
The Cucumber site template: the Cucumber Automated Functional Acceptance Testing Management system as a recipe — features with their Gherkin scripts, components, products and projects, the Cucumber user roles and the Cucumber dashboards.
Maintained by Webship. Built with UI Suite and Display Builder on top of Drupal, with HTMX. No Layout Builder displays and no Drupal Canvas.
Install
With the Cucumber project template and DDEV:
ddev config --project-type=drupal --docroot=web
ddev start
ddev composer create-project drupal/cucumber_project:~12.0 .
ddev restart
ddev launch
The Cucumber installer lists the site templates: choose Cucumber Starter.
From the command line:
ddev drush site:install cucumber -y
On an installed site:
ddev composer require drupal/cucumber_starter
ddev drush recipe ../recipes/contrib/cucumber_starter
What you get
- Cucumber Core: Feature media items with their Gherkin scripts, the Feature Directory vocabulary, the Features and Media views, the automated testing workflow, and the default and admin dashboards.
- Cucumber Recipes: the Components, Products and Projects content types, their displays and views, and their administration menu links.
- Cucumber User Roles: the Cucumber roles — Super Admin, Admin, Product Owner, Coordinator, Designer, Developer, Tester and Analyst — each switched on from one settings form.
- Cucumber Default Content: the Features link in the administration menu.
- Cucumber UI: the test screens, on Drupal core's HTMX.
The demo content is a separate download: Cucumber Demos.
Tests
Automated functional testing with webship-js (Playwright and Cucumber-js):
yarn install
LAUNCH_URL=https://my-site.ddev.site yarn test