WellNuo/.maestro/01-registration-flow.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

52 lines
1.1 KiB
YAML

appId: com.wellnuo.app
---
# WellNuo Registration Flow E2E Test
# This test covers: Launch → Email input → OTP screen
# OTP verification requires external orchestration with temp email
- launchApp:
clearState: true
# Wait for welcome screen
- extendedWaitUntil:
visible: "Welcome to WellNuo"
timeout: 15000
- takeScreenshot: "01-welcome-screen"
# Tap on email input field
- tapOn:
text: ".*example.*"
optional: true
- tapOn:
id: "email-input"
optional: true
# If neither works, tap on the input area by position
- tapOn:
point: "50%,30%"
optional: true
# Clear any existing text and enter email
# EMAIL_PLACEHOLDER will be replaced by the runner script
- inputText: "${EMAIL}"
- takeScreenshot: "02-email-entered"
# Tap Continue button
- tapOn:
text: "Continue"
# Wait for OTP screen
- extendedWaitUntil:
visible: ".*verification.*|.*code.*|.*Check your email.*"
timeout: 10000
- takeScreenshot: "03-otp-screen"
# At this point, the test pauses for OTP entry
# The orchestrator script will:
# 1. Fetch OTP from temp email
# 2. Continue with next test file