react-native-windows
react-native-windows copied to clipboard
Add Functional Tests for TouchableWithoutFeedback Component
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.
As a "good first issue" the rows in the table represent individual function tests (usually for component properties).
Instructions for adding new functional tests here: https://github.com/microsoft/react-native-windows/wiki/E2E-Testing-(Fabric)#writing-functional-tests
Functional tests are usually fairly small, but some will be easier than others to implement.