Skip to content

chore: Extensible test utils prep#4284

Merged
pan-kot merged 2 commits intomainfrom
chore-extensible-test-utils
Feb 25, 2026
Merged

chore: Extensible test utils prep#4284
pan-kot merged 2 commits intomainfrom
chore-extensible-test-utils

Conversation

@pan-kot
Copy link
Member

@pan-kot pan-kot commented Feb 23, 2026

Description

I am preparing a change to the test-utils to allow overriding ElementWrapper methods such as fundButton to return a n updated/custom version of the component. That can only work if the component test utils do not rely on the existing generated methods (use other component wrapper directly) - which can be ensured with a simple test, which this PR adds.

Rel: D397469120

How has this been tested?

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov
Copy link

codecov bot commented Feb 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.42%. Comparing base (5cfcc6d) to head (ad0941d).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4284   +/-   ##
=======================================
  Coverage   97.42%   97.42%           
=======================================
  Files         891      891           
  Lines       26098    26104    +6     
  Branches     9435     9436    +1     
=======================================
+ Hits        25426    25432    +6     
  Misses        629      629           
  Partials       43       43           

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

@pan-kot pan-kot marked this pull request as ready for review February 24, 2026 07:57
@pan-kot pan-kot requested a review from a team as a code owner February 24, 2026 07:57
@pan-kot pan-kot requested a review from jperals February 24, 2026 07:57
@pan-kot pan-kot changed the title chore: Extensible test utils chore: Extensible test utils prep Feb 24, 2026
@gethinwebster gethinwebster removed the request for review from a team February 24, 2026 09:50
@pan-kot pan-kot added this pull request to the merge queue Feb 25, 2026
Merged via the queue into main with commit a1e16cf Feb 25, 2026
50 checks passed
@pan-kot pan-kot deleted the chore-extensible-test-utils branch February 25, 2026 15:16
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.

2 participants