Skip to content

test: add e2e tests setup#447

Open
pkaramon wants to merge 9 commits intomainfrom
@pkaramon/e2e-tests-setup
Open

test: add e2e tests setup#447
pkaramon wants to merge 9 commits intomainfrom
@pkaramon/e2e-tests-setup

Conversation

@pkaramon
Copy link
Collaborator

@pkaramon pkaramon commented Feb 27, 2026

Summary

Added setup for writing e2e using Maestro framework:

  • added testIds for controls in the example app
  • added button for "Test screen", so we can customize the layout of the example app for tests
  • changed toolbar to a grid in "Test screen"
  • documented testing in CONTRIBUTING.md
  • added to new scripts test:e2e:android, test:e2e:ios
  • changed bundle identifier to swmansion.enriched.example, so it's the same as applicationId on android
  • added example tests

Test Plan

  1. Install maestro
  2. Run example app on specified devices
  3. Run all tests on android, ios; run individual test.
  4. Test UPDATE_SCREENSHOTS flag, by first breaking an existing test, and then setting it to true.

Screenshots / Videos

Added test button:

Screenshot 2026-03-03 at 10 59 26 Screenshot 2026-03-03 at 11 01 05

Compatibility

OS Implemented
iOS
Android

@pkaramon pkaramon marked this pull request as ready for review March 3, 2026 10:15
@pkaramon pkaramon requested a review from exploIF March 3, 2026 10:15
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