mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Re-enable iOS integration tests (#37571)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/37571 During the RC.0 of 0.72, we disabled the iOS integration tests because they were not working with Metro and the new Monorepo setup. This change tries to re-enable them so we can be more protected in CI ## Changelog: [internal] - Re-enable integration tests Reviewed By: cortinico Differential Revision: D46178840 fbshipit-source-id: a5239fa7067b8fb68d997dd0cc63b67fb54d2d7e
This commit is contained in:
1 parent
1a1e399466
commit
bdeb09bada
24 files changed
+3
-6
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -28,7 +28,6 @@
|
||||
},
|
||||
"testTargets" : [
|
||||
{
|
||||
"enabled": false,
|
||||
"target" : {
|
||||
"containerPath" : "container:RNTesterPods.xcodeproj",
|
||||
"identifier" : "E7DB215222B2F332005AC45F",
|
||||
|
||||
@@ -106,8 +106,7 @@ xcbeautifyFormat() {
|
||||
}
|
||||
|
||||
preloadBundlesRNIntegrationTests() {
|
||||
# Preload IntegrationTests bundles (/)
|
||||
# TODO(T149119847): These need to be relocated into a dir with a Metro config
|
||||
# Preload IntegrationTests bundles (packages/rn-tester/)
|
||||
curl -s 'http://localhost:8081/IntegrationTests/IntegrationTestsApp.bundle?platform=ios&dev=true' -o /dev/null
|
||||
curl -s 'http://localhost:8081/IntegrationTests/RCTRootViewIntegrationTestApp.bundle?platform=ios&dev=true' -o /dev/null
|
||||
}
|
||||
@@ -127,15 +126,14 @@ main() {
|
||||
|
||||
# Start the WebSocket test server
|
||||
echo "Launch WebSocket Server"
|
||||
sh "$ROOT/IntegrationTests/launchWebSocketServer.sh" &
|
||||
sh "./IntegrationTests/launchWebSocketServer.sh" &
|
||||
waitForWebSocketServer
|
||||
|
||||
# Start the packager
|
||||
yarn start --max-workers=1 || echo "Can't start packager automatically" &
|
||||
waitForPackager
|
||||
preloadBundlesRNTester
|
||||
# TODO(T149119847)
|
||||
# preloadBundlesRNIntegrationTests
|
||||
preloadBundlesRNIntegrationTests
|
||||
|
||||
# Build and run tests.
|
||||
if [ -x "$(command -v xcbeautify)" ]; then
|
||||
|
||||
Reference in new issue
Block a user