[3623285] Run existing PHPUnit tests in GitLab CI
Closes #3623285
Dependency:
- Blocked by !9 (merged). Merge request !9 (merged) must be merged first; this branch is based on its Drupal 10 compatibility changes.
Summary:
- Adds the standard Drupal GitLab CI templates for the Drupal 10 previous-major test lane.
- Migrates the existing test coverage to current PHPUnit and Drupal browser-test APIs.
- Preserves Drupal base paths in AJAX requests so functional JavaScript tests run under the CI web subdirectory.
Validation:
- Pipeline #962163 passed on Drupal 10.6.16 with PHP 8.1.34.
- All 9 PHPUnit tests passed: 1 FunctionalJavascript, 4 Functional, and 4 Entity Activity Mail Functional tests.
Edited by Ivan Hrynenko