Skip to content

Fix TextFieldSemanticsNodeMapper flaky test#2410

Merged
ambushwork merged 1 commit into
developfrom
yl/compose/fix-text-field-flaky-test
Nov 21, 2024
Merged

Fix TextFieldSemanticsNodeMapper flaky test#2410
ambushwork merged 1 commit into
developfrom
yl/compose/fix-text-field-flaky-test

Conversation

@ambushwork

Copy link
Copy Markdown
Member

What does this PR do?

Fix TextFieldSemanticsNodeMapper flaky test, it's possible that the random font family in fakeTextLayoutInfo is not GenericFontFamily, so this PR covers the corner case.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

@ambushwork
ambushwork marked this pull request as ready for review November 21, 2024 13:52
@ambushwork
ambushwork requested review from a team as code owners November 21, 2024 13:52
@codecov-commenter

codecov-commenter commented Nov 21, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.89%. Comparing base (47ccfcf) to head (63930ab).
Report is 2 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2410      +/-   ##
===========================================
+ Coverage    69.86%   69.89%   +0.03%     
===========================================
  Files          766      766              
  Lines        28483    28483              
  Branches      4778     4778              
===========================================
+ Hits         19898    19907       +9     
+ Misses        7264     7257       -7     
+ Partials      1321     1319       -2     

see 29 files with indirect coverage changes

---- 🚨 Try these New Features:

@ambushwork
ambushwork merged commit ad11589 into develop Nov 21, 2024
@ambushwork
ambushwork deleted the yl/compose/fix-text-field-flaky-test branch November 21, 2024 14:52
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