Sam Zhou
132563d81c
Deploy 0.235.1 to xplat
...
Summary: Changelog: [Internal]
Reviewed By: alexmckenley
Differential Revision: D56505986
fbshipit-source-id: 2eb4ca02d766f4e2a88ab050e4acd25cd15c490b
2024-04-24 12:27:04 -07:00
Moti Zilberman
d6e0bc714a
Enable lint/sort-imports everywhere ( #41334 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/41334
TSIA.
Changelog: [Internal]
Reviewed By: robhogan
Differential Revision: D51025812
fbshipit-source-id: e10d437be775a6b80946483aa96460f34927f870
2023-11-06 12:59:38 -08:00
Gijs Weterings
67c1a806e6
Flow strictify xplat/js/react-native-github where possible ( #41051 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/41051
Strictifies flow to flow strict-local in files where doing that doesn't cause new flow errors.
Changelog: Internal
Reviewed By: yungsters
Differential Revision: D50369011
fbshipit-source-id: b4a5a26b839b7327a3178e6f5b35246dea365a38
2023-10-18 05:36:33 -07:00
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