Problem/Motivation

The Varbase profile (10.1.x) still ships its own legacy Behat test suite (tests/, behat.yml) plus a CircleCI pipeline (.circleci/) to run it. Automated functional testing for Varbase has since moved to the Varbase project template (drupal/varbase_project), which now runs the equivalent coverage as BDD scenarios via webship-js (Playwright + Cucumber-js) on GitLab CI, alongside the strict-gating CI already rolled out to the varbase_* modules.

Keeping the profile's own Behat/CircleCI suite around now only duplicates coverage, requires a separate CI system (CircleCI, outside GitLab), and blocks moving the profile itself onto the same self-contained, strict-gating GitLab CI recipe already used elsewhere in the suite.

Precondition (already verified): all 44 .feature files under tests/features/varbase/** in the profile have been copied verbatim (identical paths and content) into drupal/varbase_project 10.1.x (branch 10.1.x-automated-testing, MR !27), so removing them from the profile loses no test coverage — the suite now lives in varbase_project and runs via webship-js.

Steps to reproduce

N/A — this is a maintenance/task issue, not a bug. To see the legacy suite being removed, browse tests/, behat.yml and .circleci/ on the varbase 10.1.x branch.

Proposed resolution

Remove the legacy Behat test tree and CircleCI configuration from the varbase profile 10.1.x branch, now that they are superseded by varbase_project + webship-js:

  • tests/ — the entire Behat test tree: tests/features/** (including tests/features/varbase/** and tests/features/bootstrap/VarbaseContext.php, VarbaseSelectorsContext.php), tests/selectors/**, tests/tools/**, tests/assets/**, tests/README.md, tests/screenshots/**
  • behat.yml — the Behat runner configuration
  • .circleci/.circleci/config.yml and .circleci/env/varbase.test.conf
  • composer.json — checked for Behat/Mink/drupal-extension/CircleCI-related require/require-dev deps and scripts/extra entries; none are present in the current 10.1.x composer.json, so no change is needed there

Nothing else is touched: varbase.info.yml, varbase.libraries.yml, varbase.services.yml, config/, src/, recipes/, the .gitlab/ CI templates, etc. all stay as-is.

Remaining tasks

  • ✅ 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 varbase-10.1.1, varbase_project-10.1.1

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • N/A

Issue fork varbase-3608270

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 4fd58e81 on 10.1.x
    task: #3608270 Remove legacy Behat tests and CircleCI (testing moved to...
rajab natshah’s picture

Assigned: rajab natshah » josebc
Issue summary: View changes
Status: Active » Needs review
Issue tags: +varbase-10.1.1, +varbase_project-10.1.1
rajab natshah’s picture

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

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.