Cross-platform YAML flows (iOS + Android share the AccessibilityIds test-tag namespace). Covers login, register, residence/task CRUD, completion, join, document upload, theme, deeplink, widget. Run: maestro test .maestro/flows/ Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
33 lines
823 B
YAML
33 lines
823 B
YAML
# Golden path: login → Documents tab → Add → fill form → Save.
|
|
# File picker is exercised via FilePicker tap; OS chooser is platform-dependent
|
|
# and is skipped in CI by seeding a stub document.
|
|
appId: com.tt.honeyDue
|
|
name: Upload document
|
|
tags:
|
|
- smoke
|
|
- document
|
|
---
|
|
- runFlow: 01-login.yaml
|
|
- tapOn:
|
|
id: "TabBar.Documents"
|
|
- extendedWaitUntil:
|
|
visible:
|
|
id: "Document.AddButton"
|
|
timeout: 10000
|
|
- tapOn:
|
|
id: "Document.AddButton"
|
|
- tapOn:
|
|
id: "DocumentForm.TitleField"
|
|
- inputText: "Home Inspection Report"
|
|
- tapOn:
|
|
id: "DocumentForm.NotesField"
|
|
- inputText: "Annual inspection — Maestro smoke test."
|
|
- hideKeyboard
|
|
- tapOn:
|
|
id: "DocumentForm.SaveButton"
|
|
- extendedWaitUntil:
|
|
visible:
|
|
id: "Document.List"
|
|
timeout: 15000
|
|
- assertVisible: "Home Inspection Report"
|