Problem/Motivation
The Educare theme ships no automated functional testing: no browser test proves the theme actually renders a live site — its landmarks, the Bootstrap navbar markup its preprocess hooks produce, or an interior page — so a template or hook regression only surfaces when a human loads a site. The Varbase projects and site templates run their suites on @vardot/varbase-e2e, the browser testing harness released from Vardot/varbase-e2e.
Steps to reproduce
Read the 1.0.x branch: no tests/ directory, no testing dependency, no test job in the CI configuration (the pipeline builds assets and lints only).
Proposed resolution
- Add a slim Varbase E2E suite (Playwright + Cucumber-js) proving the theme renders: front page landmarks, Bootstrap navbar markup, an interior page and the login page.
- Wire a CI test job that builds a Varbase 11 project, installs the Educare site template (which sets this theme as default) with the checked-out theme substituted in, and drives the site in the browser.
- Use only the harness's built-in steps — no custom step definitions to maintain.
Remaining tasks
- ✅ File an issue
- ✅ Addition/Change/Update/Fix
- ➖ Testing to ensure no regression
- ➖ Automated unit testing coverage
- ✅ Automated functional testing coverage
- ➖ UX/UI designer responsibilities
- ➖ Readability
- ➖ Accessibility
- ➖ Performance
- ➖ Security
- ❌ Developer Documentation
- ➖ User Guide Documentation
- ❌ Reviewed by human
- ❌ Code review by maintainers
- ➖ Full testing and approval
- ➖ Credit contributors
- ➖ Review with the product owner
- ✅ Release notes snippet
- ✅ Release vartheme_bs5_educare-1.0.0-alpha2
User interface changes
- N/A
API changes
- N/A
Data model changes
- N/A
Release notes snippet
- Added an automated functional testing suite on @vardot/varbase-e2e.
Issue fork vartheme_bs5_educare-3615991
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 #4
rajab natshah✅ Released vartheme_bs5_educare-1.0.0-alpha2
Comment #5
rajab natshahComment #6
rajab natshah