Skip to content

Conversation

gre
Copy link
Owner

@gre gre commented Sep 25, 2025

New Architecture Support - Upgraded to RN 0.81.4 with Fabric + TurboModules
Rebooted example project - Created 11 organized test cases (Basic, Media, Advanced)
Project Cleanup - Dependencies refresh, debug screens removal, comprehensive .gitignore

  • upgrade to TypeScript
  • switch from yarn to package-lock
  • add minimal CI checks

@gre gre force-pushed the stack-update branch 2 times, most recently from 3931f62 to 9597b68 Compare September 25, 2025 19:35
@gre gre changed the title Stack update Stack update (latest RN Fabric support, TypeScript migration, example rebooted, CI tested) Oct 1, 2025
@gre gre force-pushed the stack-update branch 6 times, most recently from 6f899b2 to ccb28d6 Compare October 6, 2025 18:24
@gre gre force-pushed the stack-update branch 7 times, most recently from 62a987f to 09f7794 Compare October 7, 2025 18:45
@gre gre changed the base branch from master to dependabot/bundler/example/Example/activesupport-6.1.7.6 October 7, 2025 18:46
@gre gre changed the base branch from dependabot/bundler/example/Example/activesupport-6.1.7.6 to master October 7, 2025 18:46
greweb added 5 commits October 8, 2025 12:30
- iOS: Install applesimutils dependency for Detox tests
- Android: Optimize emulator config (API 28, 256MB RAM, aggressive options)
- Web: Fix Playwright tests by starting dev server before tests
- Web: Disable webServer in CI to avoid conflicts
- Fix YAML syntax errors in CI workflow
- Android: Change device profile from Nexus_6 to pixel_3a (more standard)
- Web: Add proper server readiness check with curl
- Web: Increase wait time to 30s + health check loop
- Android: Remove invalid -partition-size option (was causing emulator failures)
- Web: Use webpack serve directly without --open flag to avoid browser conflicts
- Web: Explicitly set port 3000 for consistency
- iOS: Install applesimutils via npm instead of brew (more reliable)
- Web: Generate reference snapshots first, then run tests
- This should resolve both iOS Detox and Web Playwright failures
- iOS: Install applesimutils from GitHub source (npm package doesn't exist)
- Android: Simplify emulator config (API 30, 512MB RAM, 2 cores, 20min timeout)
- Web: Use update-snapshots to generate reference images (no comparison needed)
- These changes should resolve all systematic failures
greweb added 10 commits October 8, 2025 16:05
- iOS: Remove xcode-select override (use default Xcode path)
- Android: Fix missing script by using 'npx detox test --configuration android'
- These fixes should resolve the remaining systematic failures
- The tar.gz archive contains a directory, need to cd into it before building
- This should resolve the 'AppleSimulatorUtils.xcodeproj does not exist' error
- Add ls -la and find commands to see what's actually in the extracted archive
- This will help us understand the correct directory structure
- Navigate to ./applesimutils/ directory (not AppleSimulatorUtils-0.9.6)
- Use correct project name: applesimutils.xcodeproj (not AppleSimulatorUtils.xcodeproj)
- Use correct scheme name: applesimutils (not AppleSimulatorUtils)
- This should finally resolve the iOS Detox installation
- Try brew install first, fallback to pre-compiled binary
- Fixes compilation issues with Xcode 16.4 deployment target
- Should resolve iOS Detox test failures in CI
- Use brew tap wix/brew for proper applesimutils installation
- Fallback to source compilation if brew fails
- Fixes 'Not: command not found' error in iOS tests
- Change iOS simulator from iPhone 15 Pro to iPhone 14 for CI compatibility
- Integrate screenshots generated by CI into reference folders:
  - Web screenshots with improved image loading and resolution
  - Android and iOS Detox screenshots
- Fix CI artifact paths to export generated snapshots instead of references
- Update iOS and Android Detox screenshots with latest CI run results
- Fix iOS simulator configuration (iPhone 14) resolved simulator issues
- All screenshots now properly generated and integrated from CI artifacts
- Ready for final CI verification to achieve 8/8 passing jobs
- Add web-build/ to .gitignore to prevent build artifacts from being committed
- Remove build artifacts that were causing prettier formatting failures
- Keep only the essential screenshot updates in the repository
- Add platform-specific snapshot directories (ios-output, android-output)
- Separate iOS and Android snapshots in CI artifacts
- Fix issue where both platforms were using same snapshot structure
- Ensure proper snapshot separation for visual regression testing
greweb added 12 commits October 11, 2025 18:44
- iPhone 14 is not available in GitHub Actions macOS runners
- iPhone 15 Pro is the correct device type for the CI environment
- This should fix the 'Failed to find a device' error in iOS Detox tests
The CI was failing because it was configured to use iPhone 14 simulator which is not available in the macOS 15 / Xcode 16.4 environment. Updated to iPhone 16 to match the available simulators in GitHub Actions.
- Android: Use npm run test:e2e:android instead of npx detox to use locally installed Detox with Jest dependency
- Android: Use npm start instead of npx react-native start
- Web: Run tests without --update-snapshots to properly generate test-results artifacts
- Web: Upload actual/expected/diff snapshots from test-results for visual regression tracking
- Add 4 Linux chromium snapshots for web visual regression tests
- Add helper script to download and integrate snapshots from CI artifacts
- Remove temporary snapshotPathTemplate from playwright config

Run ./example-web/scripts/update-snapshots-from-ci.sh <run-id> to update snapshots from failed CI runs
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.

1 participant