Maestro: 10 golden-path flows for critical user journeys
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>
This commit is contained in:
32
.maestro/flows/07-upload-document.yaml
Normal file
32
.maestro/flows/07-upload-document.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
# 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"
|
||||
Reference in New Issue
Block a user