omi icon indicating copy to clipboard operation
omi copied to clipboard

omi mobile app functional tests ($300)

Open beastoin opened this issue 11 months ago • 3 comments

i'd like to have automated functional tests for the omi app, which is built on flutter.

we need to detect functional issues, such as whether the recording and transcribing work, if the user can sign in to the app, and if they can chat with their memories.

how does this look?

  • scripting
  • running on my computer: i turn on the omi devices, keep them nearby my phone, and run the test scripts. after 1 hour, i get the reports.
  • testing core flows: user sign-in & onboarding, device connection, recording & transcribing, listing/updating/deleting conversations, memories, action items, apps(plugins), chat.

suggestion: https://maestro.dev/ or a better solution.

beastoin avatar Dec 22 '25 03:12 beastoin

Submitted PR #4733 with a complete Maestro E2E functional test suite:

  • 10 test flows covering all core functionality: onboarding/sign-in, conversations (list, detail, CRUD), memories, chat, apps/plugins, settings, device connection, and recording
  • Flows tagged core (simulator) vs device_required (physical Omi hardware)
  • Runner scripts with pass/fail summary and optional HTML reports
  • Integrated into existing test.sh via --e2e flag

Usage: brew install maestro && bash app/.maestro/scripts/run_all.sh

Iansabia avatar Feb 11 '26 02:02 Iansabia

Project board cleanup: this issue is marked In progress on the project board. @beastoin — is this still actively being worked on? If not, we'll move it to Someday.

beastoin avatar Feb 27 '26 03:02 beastoin

Working on this! Will submit a PR shortly. (Bounty hunter for @hniane1)

Plan:

  1. Set up Maestro E2E test suite with properly structured, DRY flow files
  2. Cover all core flows: sign-in/onboarding, device connection, recording/transcribing, conversations CRUD, memories, action items, apps/plugins, chat
  3. Tag flows as core (simulator) vs device_required (physical Omi hardware)
  4. Create a clean runner script that generates markdown reports with pass/fail summary
  5. Integrate into existing test infrastructure

Addressing the issues from the previous closed PR — no code duplication, clean shell scripts, proper report generation.

hniane1 avatar Apr 02 '26 22:04 hniane1