task: #3621614 Update @vardot/varbase-e2e to ^2.0.4
Moves the Varbase API functional testing harness onto ^2.0.4 on the 9.2.x branch, and refreshes the lock so CI actually installs it.
Issue: https://www.drupal.org/project/varbase_api/issues/3621614
Why the lock matters here
The constraint said ^2, but the committed yarn.lock pinned the harness at 2.0.3. CI installs from the lock, so the suite ran the 2.0.3 steps whatever the constraint allowed, and yarn install --immutable would have kept it there. Bumping the constraint without refreshing the lock changes nothing.
This project's default branch is already on 2.0.4; 9.2.x was not covered by that work.
What changed
package.json:"@vardot/varbase-e2e"from"^2"to"^2.0.4".yarn.lock: refreshed, moving the resolved harness from 2.0.3 to 2.0.4 — a 5-line diff (descriptor, version, resolution, checksum, workspace entry).
Nothing else. No step definition, feature file or selector is touched.
What it gains
@vardot/varbase-e2e 2.0.4 adds 17 built-in steps and fixes one:
- 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, losing the session cookies and following redirects, so it asserted a different request than the one under test. It is now session aware.
Test notes
The harness installs at 2.0.4, and the dry run is clean across all 22 scenarios and 109 steps — nothing ambiguous, nothing undefined. That is the evidence that none of the new 2.0.4 steps collide with anything this branch defines locally.
The browser suites were not run: this change alters no step and no scenario.
AI-Generated: Yes
Checkpoints:
- 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