Skip to content

Fix E2E test script when the ci flag is not specified#52617

Closed
cipolleschi wants to merge 2 commits intofacebook:mainfrom
cipolleschi:export-D78344397
Closed

Fix E2E test script when the ci flag is not specified#52617
cipolleschi wants to merge 2 commits intofacebook:mainfrom
cipolleschi:export-D78344397

Conversation

@cipolleschi
Copy link
Contributor

Summary:
The test-release-local script was failing to execute the npx rreact-native run-ios command for some issues with cocoapods.
That command tries to reinstall the pods so there might be some issues when testing.

As an alternative, we can avoid duplicated work by dropping the npx react-native command and, instead, build the app with xcodebuild and install it in the simulator with xcrun.

This is a backport of this PR

Changelog:

[Internal] -

Differential Revision: D78344397

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 15, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D78344397

cipolleschi added a commit to cipolleschi/react-native that referenced this pull request Jul 15, 2025
Summary:

The `test-release-local` script was failing to execute the npx rreact-native run-ios command for some issues with cocoapods.
That command tries to reinstall the pods so there might be some issues when testing.

As an alternative, we can avoid duplicated work by dropping the npx react-native command and, instead, build the app with xcodebuild and install it in the simulator with xcrun.

This is a backport of [this PR](facebook#52609)

## Changelog:
[Internal] -

Reviewed By: vzaidman

Differential Revision: D78344397
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D78344397

Summary:

In 0.81 we dropped the JSC configuration in CI. That means that the artifacts we generate in CI have a slightly different name. The current e2e script failed to run with the ci flag because it was still using the old artifacts name and it was not finding them.

This change adress the problem by:

- using the right artifact names
- removing the --hermes parameter which controlled the Hermes vs JSC scenario.

It is also a port to main of [this PR](facebook#52606)

## Changelog:
[Internal] -

Reviewed By: vzaidman

Differential Revision: D78344244
Summary:

The `test-release-local` script was failing to execute the npx rreact-native run-ios command for some issues with cocoapods.
That command tries to reinstall the pods so there might be some issues when testing.

As an alternative, we can avoid duplicated work by dropping the npx react-native command and, instead, build the app with xcodebuild and install it in the simulator with xcrun.

This is a backport of [this PR](facebook#52609)

## Changelog:
[Internal] -

Reviewed By: vzaidman

Differential Revision: D78344397
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D78344397

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 6b550a2.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jul 15, 2025
kikoso pushed a commit to kikoso/react-native that referenced this pull request Aug 26, 2025
Summary:
Pull Request resolved: facebook#52617

The `test-release-local` script was failing to execute the npx rreact-native run-ios command for some issues with cocoapods.
That command tries to reinstall the pods so there might be some issues when testing.

As an alternative, we can avoid duplicated work by dropping the npx react-native command and, instead, build the app with xcodebuild and install it in the simulator with xcrun.

This is a backport of [this PR](facebook#52609)

## Changelog:
[Internal] -

Reviewed By: vzaidman

Differential Revision: D78344397

fbshipit-source-id: cf2d9c032966a9be05670259e9532789829349f2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants