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 合并指标
 (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. 

贡献者指南