Microsoft/react-native-windows

Add Functional Tests for TouchableOpacity Component

Open

Aperta il 29 nov 2023

Vedi su GitHub
 (1 commento) (1 reazione) (1 assegnatario)C# (6114 star) (544 fork)batch import
Area: FabricArea: TestsNew ArchitectureWorkstream: Test Coverageenhancementgood first issue

Descrizione

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

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

Guida contributor