- 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.
51 lines
1.0 KiB
YAML
51 lines
1.0 KiB
YAML
appId: com.wellnuo.app
|
|
---
|
|
# WellNuo Enter Name (for new users)
|
|
# Screen shows "What's your name?"
|
|
|
|
# Check if we're on name entry screen
|
|
- assertVisible:
|
|
text: "What's your name"
|
|
optional: true
|
|
|
|
- takeScreenshot: "05-enter-name-screen"
|
|
|
|
# The screen has "First Name" and "Last Name (optional)" fields
|
|
# Tap first name input (look for label or placeholder)
|
|
- tapOn:
|
|
text: ".*[Ff]irst.*[Nn]ame.*"
|
|
optional: true
|
|
|
|
- inputText: "Test"
|
|
|
|
# Hide keyboard before next input
|
|
- hideKeyboard
|
|
|
|
# Tap last name input (may say "Last Name (optional)" or similar)
|
|
- tapOn:
|
|
text: ".*[Ll]ast.*[Nn]ame.*"
|
|
optional: true
|
|
|
|
- inputText: "User"
|
|
|
|
- takeScreenshot: "06-name-entered"
|
|
|
|
# Hide keyboard to reveal Continue button
|
|
- hideKeyboard
|
|
|
|
# Wait a moment for UI to settle
|
|
- extendedWaitUntil:
|
|
visible: "Continue"
|
|
timeout: 3000
|
|
|
|
# Tap Continue button
|
|
- tapOn:
|
|
text: "Continue"
|
|
|
|
# Wait for Add Loved One screen
|
|
- extendedWaitUntil:
|
|
visible: "Add a Loved One"
|
|
timeout: 10000
|
|
|
|
- takeScreenshot: "07-after-name"
|