Microsoft/react-native-windows

Add Functional Tests for TouchableWithoutFeedback Component

Offen

#12.467 geöffnet am 29.11.2023

 (1 Kommentar) (1 Reaktion) (1 zugewiesene Person)C++ (1.134 Forks)batch import
Area: FabricArea: TestsNew ArchitectureWorkstream: Test Coverageenhancementgood first issue

Repository-Metriken

Stars
 (16.129 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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