Problem/Motivation

The automated functional testing suite of this project pins its harness in package.json:

"@vardot/varbase-e2e": "~2.0.1"

@vardot/varbase-e2e 2.0.4 was published on 7 September 2026. It adds 17 built-in steps and fixes the existing HTTP status step.

This is a stale pin rather than breakage, and the issue should not be read as one. ~2.0.1 resolves to at least 2.0.1 and below 2.1.0, so a fresh install of this project today would in fact fetch 2.0.4. What the pin does not do is express the floor the suite now needs, and any environment that installed at 2.0.1, 2.0.2 or 2.0.3 stays on the old steps.

Steps to reproduce

  1. Check out the 2.0.x branch of this project.
  2. Read the constraint: grep varbase-e2e package.json shows ~2.0.1.
  3. Nothing in the repository states that the suite now expects the 2.0.4 steps.

Proposed resolution

  • Set the @vardot/varbase-e2e constraint in package.json to ^2.0.4.
  • This project commits no lock file, so that single line is the whole change.

What the project gains, per the 2.0.4 release notes:

  • Access assertions, so a scenario can state what a role may and may not reach.
  • Page title assertions.
  • An added HTTP status code phrasing.
  • A fix to the existing HTTP status step. It used to re-request the URL outside the browser, which lost the session cookies and followed redirects, so it asserted the status of a different request than the one under test. It is now session aware.
  • A Drimage Improved step pack, which this project does not use today.

Verified locally on the change: node -e "console.log(require('@vardot/varbase-e2e/package.json').version)" prints 2.0.4, and npx cucumber-js --dry-run is clean over all 20 scenarios and 129 steps, with no ambiguous and no undefined steps. That is the evidence that the new library steps do not collide with anything this project defines locally.

Several of this project's own custom steps duplicate phrasings that are now under discussion for the library. This issue deliberately changes only the constraint: no local step definition is removed here.

AI-Generated: Yes

Remaining tasks

  • ✅ File an issue
  • ✅ Addition/Change/Update/Fix
  • ❌ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support
  • ➖ User Guide Documentation support
  • ➖ 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

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • The automated functional testing suite now requires @vardot/varbase-e2e 2.0.4 or newer.

Issue fork ace_editor-3621367

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.