Microsoft/react-native-windows

Add Functional Tests for TouchableWithoutFeedback Component

Open

#12,467 创建于 2023年11月29日

在 GitHub 查看
 (1 评论) (1 反应) (1 负责人)C# (544 fork)batch import
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
- [ ] TouchableWithoutFeedback should update style upon fast refresh.
- [ ] TouchableWithoutFeedback should update underlayColor upon fast refresh.
- [ ] TouchableWithoutFeedback should update activeOpacity upon fast refresh.
- [x] TouchableWithoutFeedback should fire action upon press.
- [x] TouchableWithoutFeedback should fire action upon onPressIn.
- [x] TouchableWithoutFeedback should fire action upon onPressOut.
- [x] TouchableWithoutFeedback should fire action upon onLongPress.
- [ ] TouchableWithoutFeedback should register press in clicked within hitSlop range.
- [x] TouchableWithoutFeedback should not be interactable when disabled. 

贡献者指南