fix(scripts): add logic for version scripts to account for local E2E test versioning #35847
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
and if you try running
yarn test-e2e-local -t RNTestProject -p Android
now it will go ahead and work 👍