WellNuo/.maestro/06-activate-device.yaml
Sergei 8af7a11cd9 Fix WiFi credentials cache implementation in SecureStore
- Fix saveWiFiPassword to use encrypted passwords map instead of decrypted
- Fix getWiFiPassword to decrypt from encrypted storage
- Fix test expectations for migration and encryption functions
- Remove unused error variables to fix linting warnings
- All 27 tests now passing with proper encryption/decryption flow

The WiFi credentials cache feature was already implemented but had bugs
where encrypted and decrypted password maps were being mixed. This commit
ensures proper encryption is maintained throughout the storage lifecycle.
2026-01-31 15:55:24 -08:00

55 lines
1.2 KiB
YAML

appId: com.wellnuo.app
---
# WellNuo Device Activation (Demo Mode)
# Screen title: "Connect Sensors"
# Has "Use demo code" link that auto-fills DEMO-1234-5678
# Should be on Connect Sensors screen
- assertVisible:
text: "Connect Sensors"
optional: true
- takeScreenshot: "14-activation-screen"
# Tap "Use demo code" link
# This auto-fills the activation code field with "DEMO-1234-5678"
- tapOn:
text: "Use demo code"
optional: true
# Wait for code to be filled
- extendedWaitUntil:
visible: "DEMO-1234-5678"
timeout: 3000
- takeScreenshot: "15-demo-code-filled"
# Tap Activate button
- tapOn:
text: "Activate"
optional: true
# Wait for success screen "Sensors Connected!"
- extendedWaitUntil:
visible: "Sensors Connected"
timeout: 15000
- takeScreenshot: "16-sensors-connected"
# Tap "Go to Dashboard" button
- tapOn:
text: "Go to Dashboard"
optional: true
# Note: This may show Subscription loading screen (known bug)
# Press back if stuck on loading
- extendedWaitUntil:
visible: "My Loved Ones"
timeout: 10000
# If we see loading spinner, press back
- back:
optional: true
- takeScreenshot: "17-dashboard-reached"