Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(scripts): add logic for version scripts to account for local E2E test versioning #35847

Merged
merged 4 commits into from
Jan 17, 2023

Conversation

kelset
Copy link
Contributor

@kelset kelset commented Jan 16, 2023

Summary

While working on this PR #35786 I encountered a problem in testing locally. Basically, I was getting hit by a silent error caused by recent work #35296 that didn't account for the shape of E2E local script for the release, 0.71.0-20230116-1649.

This scripts fixes both aspects: the error now gets thrown "better" and the logic accounts for the E2E shape.


This is the PR for 0.71-stable branch, the one for main can be found here: #35846

Changelog

[INTERNAL] [FIXED] - add logic for version scripts to account for local E2E test versioning

Test Plan

Tested in this PR; here's how it will error now:
Screenshot 2023-01-16 at 16 59 07

and if you try running yarn test-e2e-local -t RNTestProject -p Android now it will go ahead and work 👍

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Contributor A React Native contributor. p: Microsoft Partner: Microsoft Partner labels Jan 16, 2023
kelset and others added 2 commits January 17, 2023 10:35
Co-authored-by: Riccardo <cipolleschi@fb.com>
# Conflicts:
#	scripts/test-e2e-local.js
@kelset kelset merged commit 5f3c1e1 into 0.71-stable Jan 17, 2023
@kelset kelset deleted the kelset/fix-version-script branch January 17, 2023 11:21
facebook-github-bot pushed a commit that referenced this pull request Jan 18, 2023
…test versioning (#35846)

Summary:
While working on 0.71 branch I encountered a problem in testing locally. Basically, I was getting hit by a silent error caused by recent work #35296 that didn't account for the shape of E2E local script for the release, `0.71.0-20230116-1649`.

This scripts fixes both aspects: the error now gets thrown "better" and the logic accounts for the E2E shape.

## Changelog

<!-- Help reviewers and the release process by writing your own changelog entry.

Pick one each for the category and type tags:

For more details, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->

[INTERNAL] [FIXED] - add logic for version scripts to account for local E2E test versioning

Pull Request resolved: #35846

Test Plan: Tested via the other PR: #35847

Reviewed By: cortinico

Differential Revision: D42543200

Pulled By: cipolleschi

fbshipit-source-id: 727eb887fcbd183ec56d8a9b7e98241eaacb1d98
OlimpiaZurek pushed a commit to OlimpiaZurek/react-native that referenced this pull request May 22, 2023
…test versioning (facebook#35846)

Summary:
While working on 0.71 branch I encountered a problem in testing locally. Basically, I was getting hit by a silent error caused by recent work facebook#35296 that didn't account for the shape of E2E local script for the release, `0.71.0-20230116-1649`.

This scripts fixes both aspects: the error now gets thrown "better" and the logic accounts for the E2E shape.

## Changelog

<!-- Help reviewers and the release process by writing your own changelog entry.

Pick one each for the category and type tags:

For more details, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->

[INTERNAL] [FIXED] - add logic for version scripts to account for local E2E test versioning

Pull Request resolved: facebook#35846

Test Plan: Tested via the other PR: facebook#35847

Reviewed By: cortinico

Differential Revision: D42543200

Pulled By: cipolleschi

fbshipit-source-id: 727eb887fcbd183ec56d8a9b7e98241eaacb1d98
@cipolleschi cipolleschi mentioned this pull request Oct 11, 2023
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. Contributor A React Native contributor. p: Microsoft Partner: Microsoft Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants