Problem/Motivation

Horizon Aid ships no automated functional testing suite: no browser tests prove the shipped canvas pages render, the navigation reaches every section, or the administrative surfaces stay closed to anonymous visitors. Every other Vardot site template and the Varbase projects 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: there is no tests/ directory, no testing dependency in package.json, and no test job in the CI configuration.

Proposed resolution

  • Add a Varbase E2E suite (Playwright + Cucumber-js) with three concerns: every shipped canvas page renders, the navigation and footer reach every section, and anonymous visitors are denied the administrative surfaces.
  • Wire the suite into CI: build a Varbase 11 project, install the Horizon Aid recipe, and drive the site in the browser, one job per suite.
  • 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

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 horizonaid-3615987

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 7dfbb795 on 1.0.x
    feat: #3615987 Add the Varbase E2E automated functional testing suite
    

  • rajab natshah committed 3373c42c on 1.0.x
    feat: #3615987 Extend the Varbase functional testing suite to every...

  • rajab natshah committed 0fe61517 on 1.0.x
    perf: #3615987 Adopt the shared fast CI and show every test step
    
rajab natshah’s picture

Assigned: Unassigned » josebc
Status: Active » Needs review
Issue tags: +horizonaid-1.0.0-alpha1
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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.