Microsoft/react-native-windows

Add Functional Tests for TouchableOpacity Component

Open

#12.466 aberto em 29 de nov. de 2023

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

Métricas do repositório

Stars
 (6.114 stars)
Métricas de merge de PR
 (Mesclagem média 4d 14h) (45 fundiu PRs em 30d)

Description

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. 

Guia do colaborador