Skip to content

Add Fantom itest for LogBoxButton#55837

Open
sammy-SC wants to merge 10 commits intofacebook:mainfrom
sammy-SC:export-D94890196
Open

Add Fantom itest for LogBoxButton#55837
sammy-SC wants to merge 10 commits intofacebook:mainfrom
sammy-SC:export-D94890196

Conversation

@sammy-SC
Copy link
Contributor

@sammy-SC sammy-SC commented Mar 2, 2026

Differential Revision: D94890196

sammy-SC added 10 commits March 2, 2026 03:16
Summary:
Add a Fantom integration test for `SafeAreaView` that verifies the
component renders correctly with children.

Changelog: [Internal]

Differential Revision: D94887194
Summary:
Converts the Jest snapshot tests for TouchableNativeFeedback to
Fantom integration tests, covering rendering, disabled prop, and
accessibilityState merging behavior.

Changelog: [Internal]

Differential Revision: D94887406
Summary:
Converts the Jest snapshot test for ProgressBarAndroid to a Fantom
integration test, covering rendering with various styleAttr values,
determinate/indeterminate progress, animating prop, and testID
propagation.

Changelog: [Internal]

Differential Revision: D94887422
Summary:
Converts the Jest snapshot tests for TouchableHighlight to Fantom
integration tests, covering rendering, accessible prop, disabled prop,
and accessibilityState merging behavior. The displayName check (a pure
JS property assertion) is omitted as it has no Fantom equivalent.

Changelog: [Internal]

Differential Revision: D94887620
Summary:
Converts the ref-callback stability tests to Fantom, replacing
react-test-renderer create/update with Fantom.createRoot() +
Fantom.runTask(). Tests verify same-reference and new-reference
behavior for ref callbacks across re-renders.

Changelog: [Internal]

Differential Revision: D94887732
Summary:
Converts the HTMLCollection Jest tests to Fantom. toThrow(TypeError)
replaced with toThrow() due to Fantom's limited Jest API.

Changelog: [Internal]

Differential Revision: D94887759
Summary:
Converts the SectionList Jest snapshot tests to Fantom integration
tests covering empty lists, empty section headers, list/section
footers, and multi-section rendering. Tests that depend on jest.fn()
for separator components are omitted as module mocking is unavailable
in Fantom.

Changelog: [Internal]

Differential Revision: D94887790
Summary:
Converts the NodeList Jest tests to Fantom. Fixes iterator exhaustion
assertions to use {value: undefined, done: true} (Fantom toEqual is
exact). Drops window-as-this check (not guaranteed in Hermes).

Changelog: [Internal]

Differential Revision: D94887799
Summary:
Converts the DOMRectList Jest tests to Fantom. toThrow(TypeError)
replaced with toThrow().

Changelog: [Internal]

Differential Revision: D94887835
Differential Revision: D94890196
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 2, 2026
@github-actions
Copy link

github-actions bot commented Mar 2, 2026

Caution

Missing Description

This pull request needs a description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants