Microsoft/react-native-windows

Add Functional Tests for Touchable Highlight

Open

#12.465 aperta il 29 nov 2023

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)C# (544 fork)batch import
Area: FabricArea: TestsNew ArchitectureWorkstream: Test Coverageenhancementgood first issue

Metriche repository

Star
 (6114 star)
Metriche merge PR
 (Merge medio 4g 14h) (45 PR mergiate in 30 g)

Descrizione

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

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

Guida contributor