- 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.
24 lines
487 B
YAML
24 lines
487 B
YAML
appId: com.wellnuo.app
|
|
---
|
|
# Connect to Expo server and test
|
|
|
|
- launchApp
|
|
|
|
# Тап по центру кнопки Connect (примерно 50% ширины, 40% высоты)
|
|
- tapOn:
|
|
point: "50%,42%"
|
|
|
|
# Ждём загрузки приложения
|
|
- extendedWaitUntil:
|
|
visible: ".*"
|
|
timeout: 30000
|
|
|
|
- takeScreenshot: "01-after-connect"
|
|
|
|
# Ждём основной экран
|
|
- extendedWaitUntil:
|
|
visible: ".*"
|
|
timeout: 20000
|
|
|
|
- takeScreenshot: "02-main-screen"
|