microsoft / microsoft/react-native-windows
Add E2E Tests for ScrollView
Open
Nobody has claimed this yet.
Area: Fabric
Area: ScrollView
Area: Tests
enhancement
good first issue
New Architecture
Workstream: Test Coverage
- Dominant language
- C++
- Stars
- 17.3k
- Forks
- 1.2k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 33
Description
Add E2E Jest Snapshot Tests for ScrollView. Tests should exist as samples within RNTester.
STATUS TYPES
| Status | Description |
|---|---|
| Not Implemented | Prop is not implemented for given architecture. |
| Not Completed | No test or sample exists for the prop. |
| Sample Completed | Sample exists for the prop, but sample is not run in a Jest Snapshot Test. |
| Completed | Sample and Snapshot test exists for the prop. |
PROPS STATUS FOR SCROLLVIEW
| Test Description | Status (Paper) | Status (Fabric) | Notes |
|---|---|---|---|
| Default |
|
|
|
| AccessibilityHint |
|
|
|
| AccessibilityLabel |
|
|
|
| AccessibilityActions |
|
|
|
| AccessibilityRole |
|
|
|
| AccessibilityValue |
|
|
|
| AccessibilityPosInSet |
|
|
|
| AccessibilitySetSize |
|
|
|
| ImportantforAccessibility – no-hide-descendants |
|
|
|
| testID |
|
|
|
| Style – backgroundColor |
|
|
|
| Style – borderBottomColor | Not Implemented |
|
|
| Style – borderBottomEndRadius |
|
|
|
| Style –borderBottomLeftRadius |
|
|
|
| Style – borderBottomRightRadius |
|
|
|
| Style – borderBottomStartRadius |
|
|
|
| Style – borderBottomWidth |
|
|
|
| Style – borderColor |
|
|
|
| Style – borderEndColor | Not Implemented |
|
|
| Style – borderLeftColor | Not Implemented |
|
|
| Style – borderLeftWidth |
|
|
|
| Style – borderRadius |
|
|
|
| Style – borderRightColor | Not Implemented |
|
|
| Style – borderStartColor | Not Implemented |
|
|
| Style – borderStyle | Not Implemented |
|
|
| Style – borderTopColor | Not Implemented |
|
|
| Style – borderTopEndRadius |
|
|
|
| Style – borderTopLeftRadius |
|
|
|
| Style – borderTopRightRadius |
|
|
|
| Style – borderTopStartRadius |
|
|
|
| Style – borderTopWidth |
|
|
|
| Style – borderWidth |
|
|
|
| Style – elevation | Not Implemented |
|
|
| Style – opacity |
|
|
|
| Style – height |
|
|
|
| Style – width |
|
|
|
| Style – overflow |
|
|
|
| Style – backfaceVisibility |
|
|
|
| Accessible |
|
|
|
| Focusable |
|
|
|
| HitSlop |
|
|
|
| NativeID |
|
|
|
| NextFocus* |
|
|
|
| onAccessibilityAction |
|
|
|
| onAccessibilityTab |
|
|
|
| onAccessibilityEscape |
|
|
|
| onLayout |
|
|
|
| onMoveShoudlSetResponder |
|
|
|
| onMoveShouldSetResponderCapture |
|
|
|
| onResponderGrant |
|
|
|
| onResponderMove |
|
|
|
| onResponserReject |
|
|
|
| onResponderRelease |
|
|
|
| onResponderTerminate |
|
|
|
| onResponderTerminationRequest |
|
|
|
| onStartShouldSetResponder |
|
|
|
| onStartShouldSetResponderCatpure |
|
|
|
| pointerEvents |
|
|
|
| needsOffscreenAlphaCompositioning |
|
|
|
| toolTip |
|
|
|
| StickyHeaderComponent |
|
|
|
| contentContainerStyle |
|
|
|
| contentOffset |
|
|
|
| DecelerationRate |
|
|
|
| disableIntervalMomentum |
|
|
|
| disabledScrollViewPanResponder |
|
|
|
| Horizontal |
|
|
|
| invertStickyHeaders |
|
|
|
| keyboardDismissMode |
|
|
|
| keyboardShouldPersistTaps |
|
|
|
| onContentSizeChanged |
|
|
|
| onMomentumScrollBegin |
|
|
|
| onMomentumScrollEnd |
|
|
|
| onScroll |
|
|
|
| onScrollBeginDrag |
|
|
|
| onScrollEndDrag |
|
|
|
| pagingEnabled |
|
|
|
| refreshControl |
|
|
|
| removeClippedSubviews |
|
|
|
| scrollEnabled |
|
|
|
| showsHorizontalScrollIndicator |
|
|
|
| showsVerticalScrollIndicator |
|
|
|
| snapToEnd |
|
|
|
| snapToAlignment |
|
|
|
| snapToInterval |
|
|
|
| snapToOffsets |
|
|
|
| snapToStart |
|
|
|
| stickHeaderHiddenOnScroll |
|
|
|
| stickyHeaderIndices |
|
|
|
| flashScrollIndicators() |
|
|
|
| scrollTo() |
|
|
|
| nestedScrollEnabled |
|
|
|
| automaticallyAdjustsScrollIndicatorInsets |
|
|
|
| automaticallyAdjustsContentInsets |
|
|
|
| maintainVisibleContentPosition |
|
|
|
| centerContent |
|
|
|
| scrollEventThrottle |
|
|
|
| persistentScrollbar |
|
|
|
| endFillColor |
|
|
|
| fadingEdgeLength |
|
|
|
| scrollToOverflowEnabled |
|
|
|
| scrollsToTop |
|
|
|
| scrollToEnd() |
|
|
|
| scrollToEnd() |
|
|
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in RNTester and inspect the existing Jest snapshot test structure for component samples. Compare ScrollView's Paper and Fabric status table, then add coverage for the listed incomplete props and methods. Done means the relevant samples have corresponding E2E snapshot tests and the status entries can be marked Completed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile-dev, testing-qa
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100