- 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.
34 lines
779 B
YAML
34 lines
779 B
YAML
appId: com.wellnuo.app
|
|
---
|
|
# WellNuo Purchase Screen - Select "I already have sensors" for demo mode
|
|
# Screen title: "Get Started"
|
|
# Shows $399 WellNuo Starter Kit
|
|
|
|
# Should be on purchase screen
|
|
- assertVisible:
|
|
text: "Get Started"
|
|
optional: true
|
|
|
|
- takeScreenshot: "11-purchase-screen"
|
|
|
|
# Scroll down to see "I already have sensors" option
|
|
# This is below the purchase button
|
|
- swipe:
|
|
direction: UP
|
|
duration: 500
|
|
|
|
- takeScreenshot: "12-purchase-scrolled"
|
|
|
|
# Tap "I already have sensors" link
|
|
# This skips purchase and goes to device connection
|
|
- tapOn:
|
|
text: "I already have sensors"
|
|
optional: true
|
|
|
|
# Wait for Connect Sensors screen
|
|
- extendedWaitUntil:
|
|
visible: "Connect Sensors"
|
|
timeout: 10000
|
|
|
|
- takeScreenshot: "13-after-purchase-decision"
|