Microsoft/react-native-windows
在 GitHub 查看Add Functional Tests for TouchableOpacity Component
Open
#12,466 建立於 2023年11月29日
Area: FabricArea: TestsNew ArchitectureWorkstream: Test Coverageenhancementgood first issue
倉庫指標
- Star
- (6,114 star)
- PR 合併指標
- (平均合併 4天 14小時) (30 天內合併 45 個 PR)
描述
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.