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.
Command icon 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

rajab natshah created an issue. See original summary.

  • rajab natshah committed 30b67e16 on 1.0.x
    feat: #3615991 Add the Varbase E2E automated functional testing suite
    
rajab natshah’s picture

Assigned: Unassigned » josebc
Issue summary: View changes
Status: Active » Needs review
Issue tags: +vartheme_bs5_educare-1.0.0-alpha2
rajab natshah’s picture

Assigned: josebc » mohammed j. razem
rajab natshah’s picture

Assigned: mohammed j. razem » Unassigned
Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.