Skip to content

Fix iOS/Android test infrastructure#453

Merged
wmathurin merged 2 commits into
forcedotcom:devfrom
wmathurin:rn-upgrade-0.82
Jun 1, 2026
Merged

Fix iOS/Android test infrastructure#453
wmathurin merged 2 commits into
forcedotcom:devfrom
wmathurin:rn-upgrade-0.82

Conversation

@wmathurin
Copy link
Copy Markdown
Contributor

@wmathurin wmathurin commented May 29, 2026

Summary

  • Fix prepareios.js: stop overwriting tracked RCTTest/ files (customized for bridgeless mode)
  • Fix CI: add execute permission to create_test_credentials_from_env.js
  • Simplify test credentials: both iosTests/ and androidTests/ expect test_credentials.json at their root (removed shared/test/ directory and symlink)
  • Use file:.. for react-native-force in test package.json — tests always run against local code
  • Add Gradle task to copy test_credentials.json to assets at build time (no more ordering dependency with prepareandroid.js)
  • Fix react-android/hermes-android version: 0.81.50.82.1
  • Update .gitignore for test artifacts

Test plan

  • iOS tests build and pass (35/35) via Xcode
  • prepareandroid.js runs successfully
  • Android project builds in Android Studio
  • CI runs create_test_credentials_from_env.js before prepare scripts
  • Missing test_credentials.json prints a clear warning instead of silently failing

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 29, 2026

TestsPassed ✅SkippedFailed
iOS ^26 Test Results35 ran35 ✅
TestResult
No test annotations available

@codecov
Copy link
Copy Markdown

codecov Bot commented May 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.95%. Comparing base (eec0c3a) to head (19aa485).
⚠️ Report is 22 commits behind head on dev.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #453      +/-   ##
==========================================
+ Coverage   72.62%   76.95%   +4.32%     
==========================================
  Files          13       15       +2     
  Lines         559      651      +92     
==========================================
+ Hits          406      501      +95     
+ Misses        153      150       -3     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 29, 2026

TestsPassed ✅SkippedFailed
iOS ^18 Test Results35 ran35 ✅
TestResult
No test annotations available

@wmathurin wmathurin changed the title Fix prepareios.js: stop overwriting tracked RCTTest/ files Fix iOS/Android test infrastructure for RN 0.82 bridgeless mode May 30, 2026
@wmathurin wmathurin merged commit 61c5691 into forcedotcom:dev Jun 1, 2026
9 of 10 checks passed
@wmathurin wmathurin changed the title Fix iOS/Android test infrastructure for RN 0.82 bridgeless mode Fix iOS/Android test infrastructure Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants