Elżbieta Berger
|
aa2a0c1115
|
New RNtester e2e tests (#39117)
Summary:
The motivation was to create more e2e tests that test other components in the RNTester app.
The list of components that have been tested is below:
| Component|Test is added|Platform|
| :--- | :----: |---: |
|DrawerLayoutAndroid|NO|Android|
|ActivityIndicator|YES|iOS & Android|
|Button|YES|iOS & Android|
|FlatList|YES|iOS & Android|
|Image|NO|iOS & Android|
|JSResponderHandler|YES|iOS & Android|
|InputAccessoryView|NO|iOS|
|KeyboardAvoidingView|YES|iOS & Android|
|Modal|YES|iOS & Android|
|New App Screen|YES|iOS & Android|
|Pressable|YES|iOS & Android|
|RefreshControl|YES|iOS & Android|
|ScrollView|NO|iOS & Android|
|ScrollViewSimpleExample|YES|iOS & Android|
|SafeAreaView|NO|iOS|
|ScrollViewAnimated|NO|iOS & Android|
|ScrollViewIndicatorInsets|NO|iOS|
|SectionList|NO|iOS & Android|
|StatusBar|NO|iOS & Android|
|SwipeableCard|NO|iOS & Android|
|Switch|NO|iOS & Android|
|Text|NO|iOS & Android|
|TextInput|NO|iOS & Android|
|Touchable* and onPress|NO|iOS & Android|
|TextInputs with key prop|NO|Android|
|TransparentHitTestExample|NO|iOS|
|View|NO|iOS & Android|
|New Architecture Examples|NO|iOS & Android|
|Performance Comparison Examples|NO|iOS & Android|
## Changelog:
[General] [Added] - Added next component tests for RNTester
Pull Request resolved: https://github.com/facebook/react-native/pull/39117
Test Plan:
Follow Readme file.
## Test Result:
For iOS platform:<br>

For Android platform:<br>

Reviewed By: yungsters
Differential Revision: D48828525
Pulled By: cipolleschi
fbshipit-source-id: dfe7cc9871666a6b5c0704a207ca1eeb65f50114
|
2023-09-01 03:24:30 -07:00 |
|
Lorenzo Sciandra
|
3c6dbec23b
|
add RNTester-E2E: tests for iOS and Android via Appium, WDIO and Jest (#36267)
Summary:
The motivation is to create an E2E testing solution for the RNTester app that can be used to flag when things break and the release crew can use to validate more of the codebase ahead of a release.
This first PR wants to just showcase the main flow (how tests are made, where the E2E folder lives, how it's used by CircleCI) and then we can build on top of it with subsequent PRs, with the help of an umbrella issue to get the community involved in making more tests!
This work is being done cooperation with Callstack developers (mateuszm22 , adzironman, and others) - reason why the branch [lives in a fork](https://github.com/mateuszm22/react-native/tree/k%2Bm/new-rn-tester-E2E).
### [Read the RFC for more details ](https://github.com/react-native-community/discussions-and-proposals/pull/684)
### Extra notes
We are still on WebDriverIO 7 because during the exploratory phase, WDIO was a bit problematic and the workarounds needed to make it work don't seem very nice - see this PR: https://github.com/kelset/react-native-e2e-jest-appium-webdriverio/pull/4 --- this will be revisited in the future, once there's a better path for upgrading.
### Things that will be handled as follow up work
* upgrade to WDIO 8
* [an automated yarn run-e2e-test script](https://github.com/facebook/react-native/pull/36267#discussion_r1269378065)
* [a small refactoring into a js script](https://github.com/facebook/react-native/pull/36267#discussion_r1272050735)
## Changelog:
[INTERNAL] [ADDED] - Added first working configuration for e2e testing
Pull Request resolved: https://github.com/facebook/react-native/pull/36267
Test Plan:
You can play with this locally by [follow the readme](https://github.com/mateuszm22/react-native/blob/k+m/new-rn-tester-E2E/packages/rn-tester-e2e/README.md).
CircleCI jobs will be added.
Reviewed By: cipolleschi
Differential Revision: D47763012
Pulled By: cortinico
fbshipit-source-id: 6eb9674182b8ee97aea4784158c69bf017f379e5
|
2023-07-26 07:23:31 -07:00 |
|
Jiaqi Duan
|
dd1c8a6ba0
|
Revert D46225747: add RNTester-E2E: tests for iOS and Android via Appium, WDIO and Jest
Differential Revision:
D46225747
Original commit changeset: e5428c439afd
Original Phabricator Diff: D46225747
fbshipit-source-id: b2136b5338a38fc52493f5c9a47dcb806d6a5f52
|
2023-07-25 09:44:51 -07:00 |
|
Lorenzo Sciandra
|
3c196fb2f5
|
add RNTester-E2E: tests for iOS and Android via Appium, WDIO and Jest (#36267)
Summary:
The motivation is to create an E2E testing solution for the RNTester app that can be used to flag when things break and the release crew can use to validate more of the codebase ahead of a release.
This first PR wants to just showcase the main flow (how tests are made, where the E2E folder lives, how it's used by CircleCI) and then we can build on top of it with subsequent PRs, with the help of an umbrella issue to get the community involved in making more tests!
This work is being done cooperation with Callstack developers (mateuszm22 , adzironman, and others) - reason why the branch [lives in a fork](https://github.com/mateuszm22/react-native/tree/k%2Bm/new-rn-tester-E2E).
### [Read the RFC for more details ](https://github.com/react-native-community/discussions-and-proposals/pull/684)
### Extra notes
We are still on WebDriverIO 7 because during the exploratory phase, WDIO was a bit problematic and the workarounds needed to make it work don't seem very nice - see this PR: https://github.com/kelset/react-native-e2e-jest-appium-webdriverio/pull/4 --- this will be revisited in the future, once there's a better path for upgrading.
### Things that will be handled as follow up work
* upgrade to WDIO 8
* [an automated yarn run-e2e-test script](https://github.com/facebook/react-native/pull/36267#discussion_r1269378065)
* [a small refactoring into a js script](https://github.com/facebook/react-native/pull/36267#discussion_r1272050735)
## Changelog:
[INTERNAL] [ADDED] - Added first working configuration for e2e testing
Pull Request resolved: https://github.com/facebook/react-native/pull/36267
Test Plan:
You can play with this locally by [follow the readme](https://github.com/mateuszm22/react-native/blob/k+m/new-rn-tester-E2E/packages/rn-tester-e2e/README.md).
CircleCI jobs will be added.
Reviewed By: cipolleschi
Differential Revision: D46225747
Pulled By: cortinico
fbshipit-source-id: e5428c439afd84ed3dd219d6ada538263120d7c6
|
2023-07-25 07:58:09 -07:00 |
|