microsoft / microsoft/react-native-windows
Add E2E Snapshot Tests for TextInput
Open
Nobody has claimed this yet.
Area: Fabric
Area: Tests
Area: TextInput
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 TextInput. 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 TextInput
| Test Description | Status (Paper) | Status (Fabric) | Notes |
|---|---|---|---|
| Default Case |
|
|
|
| AccessibilityLabel |
|
|
|
| AccessibilityActions |
|
|
|
| AccessibilityRole |
|
|
|
| AccessibilityHint |
|
|
|
| AccessibilityState |
|
|
|
| AccessibilityPosInSet |
|
|
|
| AccessibilitySetSize |
|
|
|
| AccessibilityLiveRegion |
|
|
|
| onAccessibilityAction |
|
|
|
| allowFontScaling |
|
|
|
| autoCapitalize |
|
|
|
| autoCorrect |
|
|
|
| testID |
|
|
|
| autoFocus |
|
|
|
| blurOnSubmit |
|
|
|
| caretHidden |
|
|
|
| contextMenuHidden |
|
|
|
| defaultValue |
|
|
|
| Editable |
|
|
|
| keyboardType |
|
|
|
| maxFontSizeMultiplier |
|
|
|
| maxLength |
|
|
|
| Multiline |
|
|
|
| numberOfLines |
|
|
|
| onBlur |
|
|
|
| onChange |
|
|
|
| onChangeText |
|
|
|
| onContentSizeChange |
|
|
|
| onEndEditing |
|
|
|
| onPressIn |
|
|
|
| onPressOut |
|
|
|
| onFocus |
|
|
|
| onKeyPress |
|
|
|
| onLayout |
|
|
|
| onScroll |
|
|
|
| onSelectionChange |
|
|
|
| onSubmitEditing |
|
|
|
| Placeholder |
|
|
|
| placeholderTextColor |
|
|
|
| returnKeyType |
|
|
|
| scrollEnabled |
|
|
|
| secureTextEntry |
|
|
|
| selection |
|
|
|
| selectionColor |
|
|
|
| selectTextOnFocus |
|
|
|
| showSoftInputOnFocus |
|
|
|
| textAlign |
|
|
|
| Value |
|
|
|
| Focus() |
|
|
|
| Blur() |
|
|
|
| Clear() |
|
|
|
| isFocused() |
|
|
|
| keyDownEvents() |
|
|
|
| onKeyDown |
|
|
|
| onKeyDownCapture |
|
|
|
| onKeyUp |
|
|
|
| Spellcheck |
|
|
|
| Accessible |
|
|
|
| Focusable |
|
|
|
| BackgroundColor |
|
|
|
| Color |
|
|
|
| FontFamily |
|
|
|
| FontSize |
|
|
|
| FontStyle |
|
|
|
| Font Weight |
|
|
|
| LetterSpacing |
|
|
|
| LineHeight |
|
|
|
| TextDecorationLine |
|
|
|
| TextShadowColor |
|
|
|
| TextShadowOffset |
|
|
|
| TextShadowRadius |
|
|
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 by locating the RNTester TextInput samples and existing E2E Jest snapshot tests. Compare the sample and snapshot coverage with the Paper and Fabric status table, then confirm completion when the intended TextInput props have both RNTester samples and passing snapshots.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100