Skip to content

DO NTO MERGE pretty behat format#2701

Closed
AlexSkrypnyk wants to merge 1 commit into
mainfrom
feature/test-clam
Closed

DO NTO MERGE pretty behat format#2701
AlexSkrypnyk wants to merge 1 commit into
mainfrom
feature/test-clam

Conversation

@AlexSkrypnyk

@AlexSkrypnyk AlexSkrypnyk commented Jun 22, 2026

Copy link
Copy Markdown
Member

Closes #

Summary by CodeRabbit

  • Chores
    • Updated internal test configuration settings.

Note: This release contains no user-facing changes. The update is an internal configuration adjustment with no impact on product functionality or user experience.

@coderabbitai

coderabbitai Bot commented Jun 22, 2026

Copy link
Copy Markdown

Review Change Stack

Walkthrough

In behat.yml, the default.formatters block is updated by replacing progress_fail: true with pretty: true, switching the Behat output formatter for the default test profile.

Changes

Behat Formatter Configuration

Layer / File(s) Summary
Default formatter config update
behat.yml
Replaces progress_fail: true with pretty: true in the default.formatters block, changing the output format for Behat runs.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

A bunny hopped through the test suite one day,
And swapped out progress_fail without delay.
Now pretty: true makes the output shine bright,
Each scenario listed in readable light.
🐇✨ Hop hop, the formatter's just right!

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The PR title contains a typo ('DO NTO MERGE' instead of 'DO NOT MERGE') and uses a 'DO NOT MERGE' directive rather than describing the actual change (switching behat formatter from progress_fail to pretty). Correct the typo and replace the 'DO NOT MERGE' directive with a clear, descriptive title that explains the actual change, such as 'Switch behat formatter from progress_fail to pretty' or similar.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/test-clam

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
behat.yml (2)

1-101: 📐 Maintainability & Code Quality | 🟠 Major | ⚡ Quick win

PR not ready for merge: title explicitly states "DO NOT MERGE".

The PR title "DO NTO MERGE pretty behat format" (with what appears to be a typo: "DO NTO" → "DO NOT") indicates this branch is work-in-progress and not intended for integration. Resolve all outstanding issues (particularly the formatter-extension mismatch flagged above) and update the PR title before merging.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@behat.yml` around lines 1 - 101, The behat.yml configuration has a
formatter-extension mismatch that needs to be resolved before this PR can be
merged. In the behat.yml file, the formatters section enables the pretty
formatter with 'pretty: true', while the extensions section includes
DrevOps\BehatFormatProgressFail\FormatExtension which provides similar
functionality. Review the intent behind having both the pretty formatter and the
BehatFormatProgressFail extension active simultaneously, and either remove the
conflicting formatter/extension or adjust the configuration so they work
together without duplication or conflict. Additionally, ensure the PR title is
updated to remove the "DO NOT MERGE" notice before requesting final review and
merge approval.

20-27: 🩺 Stability & Availability | 🟡 Minor

Fix typo on line 21: "whule" → "while"

Line 21 has a typo in the comment: "whule" should be "while".

Additionally, the comment on line 21 mentions "explicit fail information", which is provided by the DrevOps\BehatFormatProgressFail\FormatExtension on line 98, not the pretty formatter. Consider clarifying the comment to distinguish the responsibilities of the formatter vs. the extension, or keep the comment generic (e.g., "Show test progress and continue the test run").

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@behat.yml` around lines 20 - 27, In the comment on line 21 within the
formatters section, fix the typo by changing "whule" to "while". Additionally,
the comment incorrectly attributes "explicit fail information" to the pretty
formatter itself, when this functionality is actually provided by the
DrevOps\BehatFormatProgressFail\FormatExtension referenced on line 98. Clarify
the comment to either specify that the pretty formatter only shows test progress
(with the fail details coming from the extension), or simplify it to a generic
statement like "Show test progress and continue the test run" to accurately
reflect the formatter's responsibility.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@behat.yml`:
- Around line 21-22: The comment on line 21 above the `pretty` formatter setting
contains a typo where "whule" should be "while", and the comment itself is
inaccurate for the `pretty` formatter. Fix the typo and rewrite the comment to
accurately describe what the `pretty` formatter actually does (human-readable
output with scenario-level formatting) rather than the current generic
description about progress and explicit fail information.

---

Outside diff comments:
In `@behat.yml`:
- Around line 1-101: The behat.yml configuration has a formatter-extension
mismatch that needs to be resolved before this PR can be merged. In the
behat.yml file, the formatters section enables the pretty formatter with
'pretty: true', while the extensions section includes
DrevOps\BehatFormatProgressFail\FormatExtension which provides similar
functionality. Review the intent behind having both the pretty formatter and the
BehatFormatProgressFail extension active simultaneously, and either remove the
conflicting formatter/extension or adjust the configuration so they work
together without duplication or conflict. Additionally, ensure the PR title is
updated to remove the "DO NOT MERGE" notice before requesting final review and
merge approval.
- Around line 20-27: In the comment on line 21 within the formatters section,
fix the typo by changing "whule" to "while". Additionally, the comment
incorrectly attributes "explicit fail information" to the pretty formatter
itself, when this functionality is actually provided by the
DrevOps\BehatFormatProgressFail\FormatExtension referenced on line 98. Clarify
the comment to either specify that the pretty formatter only shows test progress
(with the fail details coming from the extension), or simplify it to a generic
statement like "Show test progress and continue the test run" to accurately
reflect the formatter's responsibility.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 6316eb4c-cb75-48b3-ab0c-e4f481ab1e63

📥 Commits

Reviewing files that changed from the base of the PR and between e9cb923 and 6b6bc68.

📒 Files selected for processing (1)
  • behat.yml

Comment thread behat.yml
Comment on lines 21 to +22
# Show test progress and explicit fail information whule continuing the test run.
progress_fail: true
pretty: true

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Update comment to match the formatter change and fix typo.

Line 21 contains:

  1. Typo: "whule" should be "while".
  2. Stale comment: The comment states the formatter will "Show test progress and explicit fail information while continuing the test run", but pretty is a different formatter. Update the comment to accurately describe what the pretty formatter does (e.g., human-readable output with scenario-level formatting).
📝 Proposed fix
  formatters:
-   # Show test progress and explicit fail information whule continuing the test run.
+   # Human-readable output formatter for Behat test results.
    pretty: true
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
# Show test progress and explicit fail information whule continuing the test run.
progress_fail: true
pretty: true
formatters:
# Human-readable output formatter for Behat test results.
pretty: true
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@behat.yml` around lines 21 - 22, The comment on line 21 above the `pretty`
formatter setting contains a typo where "whule" should be "while", and the
comment itself is inaccurate for the `pretty` formatter. Fix the typo and
rewrite the comment to accurately describe what the `pretty` formatter actually
does (human-readable output with scenario-level formatting) rather than the
current generic description about progress and explicit fail information.

@github-actions

Copy link
Copy Markdown

Code coverage (threshold: 90%)

  Classes: 100.00% (1/1)
  Methods: 100.00% (2/2)
  Lines:   98.58% (208/211)
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.

2 similar comments
@AlexSkrypnyk

This comment has been minimized.

@AlexSkrypnyk

Copy link
Copy Markdown
Member Author

Code coverage (threshold: 90%)

  Classes: 100.00% (1/1)
  Methods: 100.00% (2/2)
  Lines:   98.58% (208/211)
Per-class coverage
Drupal\ys_demo\Plugin\Block\CounterBlock
  Methods: 100.00% ( 2/ 2)   Lines: 100.00% ( 10/ 10)

@codecov

codecov Bot commented Jun 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.12%. Comparing base (e9cb923) to head (6b6bc68).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2701      +/-   ##
==========================================
+ Coverage   86.67%   88.12%   +1.45%     
==========================================
  Files          96        7      -89     
  Lines        4719      362    -4357     
  Branches       47        3      -44     
==========================================
- Hits         4090      319    -3771     
+ Misses        629       43     -586     

☔ 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.

@github-project-automation github-project-automation Bot moved this from BACKLOG to Release queue in Vortex 1.x Jun 22, 2026
@AlexSkrypnyk AlexSkrypnyk deleted the feature/test-clam branch June 22, 2026 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Release queue

Development

Successfully merging this pull request may close these issues.

1 participant