Skip to content

Conversation

max-s-lab
Copy link
Contributor

Q A
Is bugfix? ✔️
New feature?
Breaks BC?
Fixed issues #19655

Copy link

codecov bot commented Sep 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.49%. Comparing base (de3bd9e) to head (13a13d5).

Additional details and impacted files
@@            Coverage Diff            @@
##             master   #20538   +/-   ##
=========================================
  Coverage     64.49%   64.49%           
- Complexity    11571    11572    +1     
=========================================
  Files           433      433           
  Lines         37609    37610    +1     
=========================================
+ Hits          24256    24257    +1     
  Misses        13353    13353           

☔ View full report in Codecov by Sentry.
📢 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.

@terabytesoftw
Copy link
Member

I think it would be great to check all the content generated by the widgets in the tests, and thus know exactly what it generates. What do you think? I plan to adopt it in the tests for the 2.2 branch, and i think it would be great for the master branch, in addition to being cleaner in terms of style code.

$this->assertEqualsWithoutLE(
    <<<HTML
    <div class="form-group field-dynamicmodel-name">
    <input type="email" id="dynamicmodel-name" class="form-control" name="DynamicModel[name]" required>
    </div>
    HTML,
    (string) $form
        ->field($model, 'name', $o)
        ->input('email', ['required' => true]),
);

@max-s-lab
Copy link
Contributor Author

Good idea. I'll fix the added tests now.

Copy link
Member

@Arhell Arhell left a comment

Choose a reason for hiding this comment

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

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants