Microsoft/react-native-windows

Add Functional Tests for TouchableWithoutFeedback Component

Open

#12,467 opened on Nov 29, 2023

View on GitHub
 (1 comment) (1 reaction) (1 assignee)C# (544 forks)batch import
Area: FabricArea: TestsNew ArchitectureWorkstream: Test Coverageenhancementgood first issue

Repository metrics

Stars
 (6,114 stars)
PR merge metrics
 (Avg merge 3d 17h) (62 merged PRs in 30d)

Description

Test cases should be added to the E2E test app (Fabric) to validate the following functionality scenarios.

### Tasks
- [ ] TouchableWithoutFeedback should update style upon fast refresh.
- [ ] TouchableWithoutFeedback should update underlayColor upon fast refresh.
- [ ] TouchableWithoutFeedback should update activeOpacity upon fast refresh.
- [x] TouchableWithoutFeedback should fire action upon press.
- [x] TouchableWithoutFeedback should fire action upon onPressIn.
- [x] TouchableWithoutFeedback should fire action upon onPressOut.
- [x] TouchableWithoutFeedback should fire action upon onLongPress.
- [ ] TouchableWithoutFeedback should register press in clicked within hitSlop range.
- [x] TouchableWithoutFeedback should not be interactable when disabled. 

Contributor guide