microsoft / microsoft/react-native-windows

Fabric e2etests for large snapshots are broken

Open
#13,436 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area: Test Infrastructure Area: Tests bug help wanted New Architecture Workstream: Test Coverage
Dominant language
C++
Stars
17.3k
Forks
1.2k
Avg merge
1d 13h
Merged PRs (30d)
33

Description

Problem Description

Currently affecting main and 0.75

Broken Tests
FlatList - Basic
ScrollView - refresh Control
SectionList - Scrollable

While working on the 0.75 branch these tests broke due to an Invalid string length error. I'm thinking it's because these are the only tests with 1000+ items and the toJson() function must have put a cap on what it can process but further investigation is needed. Check pages out locally and they render/work as intended

image

Steps To Reproduce
  1. Run tests on 0.75 branch
  2. Look at Pipeline (https://dev.azure.com/ms/react-native-windows/_build/results?buildId=592440&view=logs&j=20253376-38f7-5084-b900-818d1e6181d3&t=e4bc6543-c5eb-5bc9-6033-5ab4b4216285)
Expected Results

No response

CLI version

npx react-native -v

Environment
npx react-native info
Community Modules

No response

Target Platform Version

None

Target Device(s)

No response

Visual Studio Version

None

Build Configuration

None

Snack, code example, screenshot, or link to a repository

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Run the listed Fabric e2e tests on the 0.75 branch and inspect the linked pipeline logs for the Invalid string length failure. Compare the FlatList - Basic, ScrollView - refresh Control, and SectionList - Scrollable cases, then investigate whether toJson() is involved; done means these tests pass while the pages continue to render and work as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
react
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.