Athena — roomy-mobile/archive/changes/2026-01-05-add-per-screen-maestro-flows/tasks/010-create-orchestration-flows.md


skill-level: senior status: done

Task: Create Orchestration Flows

End Goal

Device-specific orchestration flows that execute all screen flows and save screenshots to device-appropriate directories.

Currently

  • No orchestration flows exist
  • Screenshots saved to single directory regardless of device

Should

  • orchestration/appstore_iphone.yaml - All screens for iPhone 16 Pro Max (6.9")
  • orchestration/appstore_ipad.yaml - All screens for iPad Pro 13"
  • orchestration/playstore_phone.yaml - All screens for Pixel 8
  • orchestration/playstore_7inch.yaml - All screens for Nexus 7 (7" tablet)
  • orchestration/playstore_10inch.yaml - All screens for Pixel Tablet (10")

Constraints

  • [x] Must execute all 21 screen flows in logical order
  • [x] Must set device-specific SCREENSHOT_PATH environment variable
  • [x] Must be tagged with orchestration (not screenshot) to prevent double-execution

Acceptance Criteria

  • [x] Each orchestration flow runs all 21 screen flows
  • [x] Screenshots saved to device-specific directories (e.g., appstore/iphone_6.9/, playstore/phone/)
  • [x] Orchestration flows tagged with orchestration only
  • [x] Running maestro test .maestro/orchestration/appstore_iphone.yaml captures full app store screenshot set

Implementation Checklist

  • [x] 10.1 Create orchestration/ directory
  • [x] 10.2 Create appstore_iphone.yaml - Run all 21 flows with SCREENSHOT_PATH=appstore/iphone_6.9
  • [x] 10.3 Create appstore_ipad.yaml - Run all 21 flows with SCREENSHOT_PATH=appstore/ipad_13
  • [x] 10.4 Create playstore_phone.yaml - Run all 21 flows with SCREENSHOT_PATH=playstore/phone
  • [x] 10.5 Create playstore_7inch.yaml - Run all 21 flows with SCREENSHOT_PATH=playstore/tablet_7
  • [x] 10.6 Create playstore_10inch.yaml - Run all 21 flows with SCREENSHOT_PATH=playstore/tablet_10
  • [x] 10.7 Validate all flows with maestro test --check-only

Notes

  • Use runFlow with env: to pass SCREENSHOT_PATH to each screen flow
  • Order: auth flows → home flows → cleaning flows → shopping flows → payments flows → settings/misc flows
  • Auth flows may need to be conditional or skipped in screenshot mode

Reacties

Nog geen reacties