feat: #3613916 Add the Varbase functional testing suite and GitLab CI

Issue: https://www.drupal.org/project/educare/issues/3613916

Summary

Adds a Varbase functional testing suite (Playwright + Cucumber-js) to the Educare recipe — 36 scenarios across 6 folders: website base pages, News, Events, Programs, exposed filters, and the contact form.

Adds a self-contained GitLab CI pipeline (buildvalidatetest) alongside it:

  • build: composer validate on the recipe's composer.json.
  • validate: YAML lint, Cspell, ESLint, and a Cucumber dry-run that proves every step phrasing in the suite resolves against the step definitions — no browser, no running site.
  • test: builds a Varbase 11 project, requires the checked-out recipe, installs it with drush site:install recipes/educare, serves the site, and drives it through the whole suite, then builds the HTML/PDF report.

Locally with gitlab-ci-local, the validate stage is green (YAML lint, Cspell, ESLint, Cucumber dry-run) and the suite itself runs green on a live install: 36/36 scenarios, 243 steps. The test stage (the full site install + live browser run inside CI) is left to run on this MR's pipeline.

AI-Generated: Yes

Checkpoints

  • 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
Edited by Rajab Natshah

Merge request reports

Loading