Skip to content

feat: add maestro E2E test app#836

Draft
ajpallares wants to merge 10 commits intomainfrom
e2e-tests-app
Draft

feat: add maestro E2E test app#836
ajpallares wants to merge 10 commits intomainfrom
e2e-tests-app

Conversation

@ajpallares
Copy link
Copy Markdown
Contributor

@ajpallares ajpallares commented Feb 27, 2026

Summary

Adds a Maestro E2E test app under e2e-tests/MaestroTestApp/ — a minimal Unity app used by automated Maestro flows to verify the RevenueCat purchase integration.

  • Two screens: "Test Cases" list and "Purchase through paywall" (presents a RevenueCat paywall and displays entitlement status)
  • Bundle ID com.revenuecat.automatedsdktests
  • API key placeholder (MAESTRO_TESTS_REVENUECAT_API_KEY) replaced at CI time via sed
  • Errors from PresentPaywall are surfaced in a visible errorLabel (not just Debug.LogError) for Maestro screenshot capture
  • Includes a README, setup-instructions.md for Unity Editor scene setup, and a BuildScript.cs for headless CI builds

Counterpart PRs: react-native-purchases#1635, purchases-flutter#1654, purchases-capacitor#699, cordova-plugin-purchases#857, purchases-kmp#708

Follow-up PRs (stacked)

  • #837 — Maestro test flows (YAML)
  • #838 — CircleCI jobs to run the tests

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@ajpallares ajpallares added pr:other Changes to our CI configuration files and scripts and removed pr:feat A new feature labels Feb 27, 2026
- Add try/catch to PresentPaywall for diagnosable test failures
- Add README with build/run instructions and API key setup

Made-with: Cursor
- Show errors in a visible errorLabel Text element instead of only
  Debug.LogError, so Maestro can capture failures in screenshots
- Update setup instructions with new ErrorLabel wiring step

Made-with: Cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:other Changes to our CI configuration files and scripts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant