Problem/Motivation
The Educare recipe ships no automated browser tests and no CI that installs it and drives the site, so regressions in the News, Events and Programs listings, the content-type full pages, the form-scoped exposed filters, the contact form and the Canvas pages go uncaught.
Steps to reproduce
- Install the Educare recipe on a fresh Varbase 11 site.
- Change any of the News/Events/Programs listings, a content type's full page, an exposed filter, or the contact form.
- Nothing in this repository catches the regression — there is no functional test suite and no CI pipeline that installs the recipe and exercises the site.
Proposed resolution
Ship a Varbase functional testing suite inside the recipe (built with Playwright and Cucumber-js) covering 36 scenarios across 6 folders: website base pages, News, Events, Programs, exposed filters, and the contact form.
Add a self-contained GitLab CI pipeline (build > validate > test) that builds a Varbase 11 project, requires the checked-out recipe, installs it with:
drush site:install recipes/educare
then serves the site and runs the suite, then builds the HTML/PDF report.
Locally, with gitlab-ci-local, the validate stage (YAML lint, Cspell, ESLint, Cucumber dry-run) is already green, and the suite itself runs green on a live install: 36/36 scenarios, 243 steps. The test stage (the full site install plus live run inside CI) is left to run on this issue's merge request pipeline.
AI-Generated: Yes
Remaining tasks
- ✅ File an issue about this project
- ✅ Addition/Change/Update/Fix to this project
- ❌ Testing to ensure no regression
- ✅ Automated unit/functional testing coverage
- ➖ Developer Documentation support on feature change/addition
- ➖ User Guide Documentation support on feature change/addition
- ➖ UX/UI designer responsibilities
- ➖ Accessibility and Readability
- ❌ Reviewed by a human
- ❌ Code review by maintainers
- ❌ Full testing and approval
- ❌ Credit contributors
- ❌ Review with the product owner
- ❌ Update Release Notes
- ❌ Release
User interface changes
- N/A
API changes
- N/A
Data model changes
- N/A
Release notes snippet
- Adds the Varbase functional testing suite and GitLab CI to the Educare recipe.
Issue fork educare-3613916
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #6
rajab natshah✅ Released educare-1.0.0-alpha1
Comment #7
rajab natshahComment #8
rajab natshah