Microsoft/react-native-windows

Add Functional Tests for Touchable Highlight

開放

#12,465 建立於 2023年11月29日

 (1 則留言) (0 個反應) (0 位負責人)C++ (1,134 個分叉)batch import
Area: FabricArea: TestsNew ArchitectureWorkstream: Test Coverageenhancementgood first issue

倉庫指標

星標
 (16,129 顆星)
PR 合併指標
 (平均合併 4天 14小時) (30 天內合併 45 個 PR)

描述

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. 

貢獻者指南