Microsoft/react-native-windows
Ver no GitHubAdd Functional Tests for Pressable Component
Open
#12.461 aberto em 29 de nov. de 2023
Area: FabricArea: PressableArea: 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
- [ ] Pressable should update border styling upon fast refresh.
- [ ] Pressable should update children upon fast refresh.
- [ ] Pressable should update disabled styling upon fast refresh.
- [x] Pressable should update applicable styling upon hover.
- [x] Pressable should update applicable styling upon press.
- [x] Pressable should perform action upon press.
- [x] Pressable should be able to track number of clicks.
- [x] Pressable should perform action upon onPressIn.
- [x] Pressable should perform action upon onPressOut.
- [ ] Pressable should perform action upon onLongPress.
- [x] Pressable should not perform action upon press when disabled.
- [ ] Pressable behavior should change upon delayLongPress adjustment.
- [ ] Pressable should register onPress action when hit within hitSlop range.