Skip to content

Conversation

@vineethkuttan
Copy link
Contributor

@vineethkuttan vineethkuttan commented Apr 19, 2025

Description

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Why

What is the motivation for this change? Add a few sentences describing the context and overall goals of the pull request's commits.

Resolves [Add Relevant Issue Here]

What

What changes were made to the codebase to solve the bug, add the functionality, etc. that you specified above.

Add E2E test cases for PR #14332

Microsoft Reviewers: Open in CodeFlow

@vineethkuttan vineethkuttan requested a review from a team as a code owner April 19, 2025 16:42
@vineethkuttan vineethkuttan marked this pull request as draft April 19, 2025 16:43
@anupriya13 anupriya13 requested a review from Copilot April 21, 2025 14:56
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request addresses a bug fix by introducing additional font attributes for enhanced E2E test coverage. The changes include updating attribute handling in CompositionTextRangeProvider and adding new test utility functions and attribute retrieval logic in RNTesterApp-Fabric.

  • Updated CompositionTextRangeProvider to use VT_INT and assign font cap style values.
  • Added overloaded InsertNumberValueIfNotDefault functions and extended DumpUIAPatternInfo to retrieve and record various font-related attributes.

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
vnext/Microsoft.ReactNative/Fabric/Composition/CompositionTextRangeProvider.cpp Changed cap style attribute handling from returning values to assigning them to pRetVal, and updated type from VT_I4 to VT_INT.
packages/e2e-test-app-fabric/windows/RNTesterApp-Fabric/RNTesterApp-Fabric.cpp Introduced two overloaded InsertNumberValueIfNotDefault functions and extended DumpUIAPatternInfo to include fetching of additional font attributes.
Files not reviewed (1)
  • change/react-native-windows-abe3b81a-02be-4c81-86e1-40bbf5d69332.json: Language not supported

@vineethkuttan vineethkuttan force-pushed the addFontAttributesToE2E branch from cee1324 to da39d3e Compare April 29, 2025 15:25
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