microsoft / microsoft/react-native-windows
Add Functional Tests for Pressable Component
Open
Nobody has claimed this yet.
Area: Fabric
Area: Pressable
Area: Tests
enhancement
good first issue
New Architecture
Workstream: Test Coverage
- Dominant language
- C++
- Stars
- 17.3k
- Forks
- 1.2k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 33
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.