Skip to content

Feature/add detox e2e tests#151

Merged
Smartdevs17 merged 10 commits intoSmartdevs17:mainfrom
ExcelDsigN-tech:feature/add-detox-e2e-tests
Mar 27, 2026
Merged

Feature/add detox e2e tests#151
Smartdevs17 merged 10 commits intoSmartdevs17:mainfrom
ExcelDsigN-tech:feature/add-detox-e2e-tests

Conversation

@ExcelDsigN-tech
Copy link
Copy Markdown

@ExcelDsigN-tech ExcelDsigN-tech commented Mar 26, 2026

Add E2E Testing Framework with Detox (Closes #87)

Overview

This Pull Request introduces a comprehensive end-to-end (E2E) testing suite using Detox. It establishes the infrastructure for automated UI testing on both iOS and Android, ensuring that critical user flows—such as app launch, subscription management, and crypto payments—remain functional through future updates. This addresses the current gap where integration issues were bypassing unit tests.

Feature Summary

  • E2E Infrastructure: Detox configuration for iOS/Android with Expo prebuild support.
  • Critical Path Testing: Automated flows for App Launch, Subscription Management, and Crypto Payments.
  • CI/CD Pipeline: Automated GitHub Actions workflow for E2E execution on macOS and Ubuntu runners.
  • Stability Fixes: Resolved React 19 compatibility issues and date formatting bugs found during integration.

Technical Implementation

  • Configuration: Added .detoxrc.js and integrated @config-plugins/detox in app.json.
  • Testing Suite: Implemented launch.test.ts, subscription.test.ts, and payment.test.ts using Jest.
  • Store Updates: Refactored subscriptionStore.test.ts to use act from react for React 19 compliance.
  • CI Workflow: Created .github/workflows/e2e-detox.yml with emulator acceleration.

Test Coverage

  • Unit Tests: All existing logic and store tests passing.
  • E2E Launch: Verified successful bootstrap and home screen rendering.
  • E2E Subscription: Full flow simulation for adding services.
  • E2E Payments: Validation of crypto payment modal interactions.

Tasks

  • Install and configure Detox for iOS and Android
  • Implement critical path test scripts
  • Resolve React 19 and date formatting regressions
  • Configure GitHub Actions CI workflow
  • Verify branch is up-to-date with main

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 26, 2026

@ExcelDsigN-tech Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@ExcelDsigN-tech ExcelDsigN-tech force-pushed the feature/add-detox-e2e-tests branch from 392699e to 8f94b12 Compare March 26, 2026 22:03
@ExcelDsigN-tech ExcelDsigN-tech force-pushed the feature/add-detox-e2e-tests branch from 146b4c1 to 07dd0d9 Compare March 26, 2026 23:31
@Smartdevs17 Smartdevs17 merged commit 55f8c0c into Smartdevs17:main Mar 27, 2026
12 checks passed
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.

🔧 Add E2E tests with Detox

2 participants