Skip to content

Updated 'drevops/behat-steps' to 3.14.1 and re-recorded the 'test-bdd' documentation video. - #3043

Merged
AlexSkrypnyk merged 2 commits into
mainfrom
feature/behat-steps-3-14-1
Aug 20, 2026
Merged

Updated 'drevops/behat-steps' to 3.14.1 and re-recorded the 'test-bdd' documentation video.#3043
AlexSkrypnyk merged 2 commits into
mainfrom
feature/behat-steps-3-14-1

Conversation

@AlexSkrypnyk

@AlexSkrypnyk AlexSkrypnyk commented Aug 20, 2026

Copy link
Copy Markdown
Member

Summary

Bumped the drevops/behat-steps Composer constraint from ^3.14.0 to ^3.14.1 and re-recorded the test-bdd documentation video, because the new release changes what ahoy test-bdd prints to the console. Upstream drevops/behat-steps 3.14.1 (released 2026-08-19) makes the accessibility console summary opt-in behind a BEHAT_ACCESSIBILITY_PRINT environment variable (drevops/behat-steps#756, drevops/behat-steps#757), plus a routine dependency update; Vortex wires AccessibilityTrait into tests/behat/bootstrap/FeatureContext.php, so that upstream default change is visible in the recorded ahoy test-bdd output. The workspace was rebuilt from scratch (installer, then ahoy build, then the recording) rather than reused with --keep, because the previous recording predated the trait-wiring and dependency commits that landed on main on 2026-08-19. The re-recorded run resolved and installed drevops/behat-steps 3.14.1 (verified in the rebuilt workspace's vendor/composer/installed.json) and passes 28 scenarios and 191 steps, all green.

Changes

  • composer.json: constrained drevops/behat-steps to ^3.14.1 (from ^3.14.0).
  • .vortex/docs/static/img/test-bdd.json and .vortex/docs/static/img/test-bdd.svg: regenerated the test-bdd terminal cast and its rendered SVG against the updated dependency; the 7 [accessibility] <path>: 0 violations, N passes, 1 incomplete (rules: wcag2a,wcag2aa) lines that the previous behat-steps version printed once per scenario are gone from the cast, matching the new upstream default. Scenario count (28), step count (191), and the all-green result are unchanged; the cast's recorded duration dropped from roughly 55s to roughly 49s and the rendered SVG shrank from 199,592 to 59,247 bytes (glyph <use> references fell from 4,419 to 994), both a direct consequence of dropping the per-step accessibility lines from the terminal output rather than any lost content.
  • test-bdd.png is unchanged and intentionally not part of this diff: its poster frame is captured at 2000ms, while the command is still being typed, so nothing in the 3.14.1 behavior change is visible at that frame.
  • No installer fixtures or documentation prose needed updates: installer fixtures store the behat-steps constraint as __VERSION__, and no documentation page pins a behat-steps version or documents the accessibility console output.

Before / After

┌────────────────────────────────────────────────────────────────────┐
│ BEFORE (behat-steps ^3.14.0)                                       │
├────────────────────────────────────────────────────────────────────┤
│ composer.json   "drevops/behat-steps": "^3.14.0"                   │
│                                                                    │
│ ahoy test-bdd (recorded cast):                                     │
│   [accessibility] <path>: 0 violations, N passes, 1 incomplete     │
│     (rules: wcag2a,wcag2aa), printed once per scenario (x7)        │
│   28 scenarios (28 passed) / 191 steps (191 passed)                │
│   duration ~55s (0m52.20s)   events 214                            │
│                                                                    │
│ test-bdd.svg    199,592 bytes / 4,419 <use> glyph refs             │
└────────────────────────────────────────────────────────────────────┘

┌────────────────────────────────────────────────────────────────────┐
│ AFTER (behat-steps ^3.14.1)                                        │
├────────────────────────────────────────────────────────────────────┤
│ composer.json   "drevops/behat-steps": "^3.14.1"                   │
│                                                                    │
│ ahoy test-bdd (recorded cast):                                     │
│   no per-step accessibility line: opt-in now via env var           │
│   BEHAT_ACCESSIBILITY_PRINT (unset here, so nothing prints)        │
│   28 scenarios (28 passed) / 191 steps (191 passed)                │
│   duration ~49s (0m46.92s)   events 210                            │
│                                                                    │
│ test-bdd.svg    59,247 bytes / 994 <use> glyph refs                │
└────────────────────────────────────────────────────────────────────┘

Summary by CodeRabbit

  • Chores
    • Updated the development testing tools to a newer patch version.
    • Refreshed the recorded BDD test demonstration with current execution details.
    • The demonstration continues to show 28 passing scenarios and 191 passing steps.

@coderabbitai

coderabbitai Bot commented Aug 20, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: c0f3d4af-ad51-421d-a0fc-ca25d42626cc

📥 Commits

Reviewing files that changed from the base of the PR and between 66f481d and e61c2a9.

⛔ Files ignored due to path filters (1)
  • .vortex/docs/static/img/test-bdd.svg is excluded by !**/*.svg
📒 Files selected for processing (2)
  • .vortex/docs/static/img/test-bdd.json
  • composer.json

Included review availability: 1 review is currently available. Your included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour.


Walkthrough

The PR updates the drevops/behat-steps development dependency and refreshes the recorded BDD test terminal session. The recording retains 28 passing scenarios and 191 passing steps with updated runtime and memory values.

Changes

BDD refresh

Layer / File(s) Summary
Behat steps dependency update
composer.json
The development dependency constraint changes from ^3.14.0 to ^3.14.1.
BDD test recording refresh
.vortex/docs/static/img/test-bdd.json
The terminal recording uses a newer trace, removes intermediate accessibility output, and reports updated runtime and memory values.

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: ⚪ Minimal · up to e61c2

This localized dependency and documentation update has no identified merge-blocking risk; normal checks should confirm that any tracked Composer lock file remains compatible with version 3.14.1.

Possibly related PRs

Suggested labels: Dependencies

Poem

I hop through tests beneath the moon,
Twenty-eight scenarios finish soon.
One hundred ninety-one steps stand bright,
A fresher trace records the night.
New dependency, clean and neat—
The rabbit stamps its paws: complete!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely summarizes both the dependency update and the re-recorded test-bdd documentation video.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/behat-steps-3-14-1

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 Biome (2.5.6)
.vortex/docs/static/img/test-bdd.json

File contains syntax errors that prevent linting: Line 2: End of file expected; Line 3: End of file expected; Line 4: End of file expected; Line 5: End of file expected; Line 6: End of file expected; Line 7: End of file expected; Line 8: End of file expected; Line 9: End of file expected; Line 10: End of file expected; Line 11: End of file expected; Line 12: End of file expected; Line 13: End of file expected; Line 14: End of file expected; Line 15: End of file expected; Line 16: End of file expected; Line 17: End of file expected; Line 18: End of file expected; Line 19: End of file expected; Line 20: End of file expected; Line 21: End of file expected; Line 22: End of file expected; Line 23: End of file expected; Line 24: End of file expected; Line 25: End of file expected; Line 26: End of file expected; Line 27: End of file expected; Line 28: End of file expected; Line 29: End of file expected; Line 30: End of file expected; Line 31: End of file expected; Line 32: End of file expecte

... [truncated 4862 characters] ...

; Line 187: End of file expected; Line 188: End of file expected; Line 189: End of file expected; Line 190: End of file expected; Line 191: End of file expected; Line 192: End of file expected; Line 193: End of file expected; Line 194: End of file expected; Line 195: End of file expected; Line 196: End of file expected; Line 197: End of file expected; Line 198: End of file expected; Line 199: End of file expected; Line 200: End of file expected; Line 201: End of file expected; Line 202: End of file expected; Line 203: End of file expected; Line 204: End of file expected; Line 205: End of file expected; Line 206: End of file expected; Line 207: End of file expected; Line 208: End of file expected; Line 209: End of file expected; Line 210: End of file expected; Line 211: End of file expected


Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

Code coverage (threshold: 90%)

  Classes: 100.00% (1/1)
  Methods: 100.00% (2/2)
  Lines:   98.56% (206/209)
Per-class coverage
Drupal\ys_demo\Plugin\Block\CounterBlock
  Methods: 100.00% ( 2/ 2)   Lines: 100.00% ( 10/ 10)

@AlexSkrypnyk

This comment has been minimized.

1 similar comment
@AlexSkrypnyk

Copy link
Copy Markdown
Member Author

Code coverage (threshold: 90%)

  Classes: 100.00% (1/1)
  Methods: 100.00% (2/2)
  Lines:   98.56% (206/209)
Per-class coverage
Drupal\ys_demo\Plugin\Block\CounterBlock
  Methods: 100.00% ( 2/ 2)   Lines: 100.00% ( 10/ 10)

@codecov

codecov Bot commented Aug 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.65%. Comparing base (66f481d) to head (e61c2a9).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3043      +/-   ##
==========================================
- Coverage   87.06%   86.65%   -0.41%     
==========================================
  Files         106       99       -7     
  Lines        4970     4811     -159     
  Branches       47        3      -44     
==========================================
- Hits         4327     4169     -158     
+ Misses        643      642       -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@AlexSkrypnyk
AlexSkrypnyk enabled auto-merge (squash) August 20, 2026 01:28
@AlexSkrypnyk AlexSkrypnyk added the AUTOMERGE Pull request has been approved and set to automerge label Aug 20, 2026
@github-actions

Copy link
Copy Markdown

📖 Documentation preview for this pull request has been deployed to Netlify:

https://6a86595e1d2178688af00668--vortex-docs.netlify.app

This preview is rebuilt on every commit and is not the production documentation site.

@AlexSkrypnyk
AlexSkrypnyk merged commit 7f8d044 into main Aug 20, 2026
36 checks passed
@AlexSkrypnyk
AlexSkrypnyk deleted the feature/behat-steps-3-14-1 branch August 20, 2026 01:38
@github-project-automation github-project-automation Bot moved this from BACKLOG to Release queue in Vortex 1.x Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AUTOMERGE Pull request has been approved and set to automerge

Projects

Status: Release queue

Development

Successfully merging this pull request may close these issues.

1 participant