react-native-windows icon indicating copy to clipboard operation
react-native-windows copied to clipboard

Add Functional Tests for TouchableOpacity Component

Open chiaramooney opened this issue 2 years ago • 1 comments

Test cases should be added to the E2E test app (Fabric) to validate the following functionality scenarios.

### Tasks
- [ ] TouchableOpacity should update style upon fast refresh.
- [ ] TouchableOpacity should update underlayColor upon fast refresh.
- [ ] TouchableOpacity should update activeOpacity upon fast refresh.
- [x] TouchableOpacity should fire action upon press.
- [x] TouchableOpacity should fire action upon onPressIn.
- [x] TouchableOpacity should fire action upon onPressOut.
- [x] TouchableOpacity should fire action upon onLongPress.
- [ ] TouchableOpacity should register press in clicked within hitSlop range.
- [x] TouchableOpacity should not be interactable when disabled. 

chiaramooney avatar Nov 29 '23 20:11 chiaramooney

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.

chiaramooney avatar Apr 01 '25 20:04 chiaramooney