Help Wanted: Fix ScrollViewExample flakiness
As part of the RNTesterSnapshotTests, the RNTester ScrollViewExample is loaded and a screenshot is saved. The snapshot test is flaky as the Facebook thumbs images might not load before the screenshot is taken. This is therefore recorded as a failing snapshot test.
Comparison: blank snapshot on the left, and proper snapshot on the right.

The test is defined in JavaScript at RNTester/js/ScrollViewExample.js, and is invoked by RNTesterSnapshotTests.m in RNTester/RNTester.xcodeproj.
Potential solutions include delaying the recording of the snapshot long enough for images to have loaded, or simply replacing the images from ScrollViewExample with something else.
Steps to reproduce:
- Run
yarn at the repository root.
- Open
RNTester/RNTester.xcodeproj on Xcode 10.1.0.
- Build RNTester.
- Run tests (CMD+U) on an iPhone 6s simulator.
You can generate a new snapshot for comparison by editing RNTesterSnapshotTests.m and setting record mode to on.
Help Wanted: Fix
ScrollViewExampleflakinessAs part of the RNTesterSnapshotTests, the RNTester ScrollViewExample is loaded and a screenshot is saved. The snapshot test is flaky as the Facebook thumbs images might not load before the screenshot is taken. This is therefore recorded as a failing snapshot test.
Comparison: blank snapshot on the left, and proper snapshot on the right.

The test is defined in JavaScript at
RNTester/js/ScrollViewExample.js, and is invoked byRNTesterSnapshotTests.minRNTester/RNTester.xcodeproj.Potential solutions include delaying the recording of the snapshot long enough for images to have loaded, or simply replacing the images from ScrollViewExample with something else.
Steps to reproduce:
yarnat the repository root.RNTester/RNTester.xcodeprojon Xcode 10.1.0.You can generate a new snapshot for comparison by editing
RNTesterSnapshotTests.mand setting record mode to on.