mirror of
https://github.com/luxfi/safe-wallet.git
synced 2026-10-30 15:19:21 +00:00
* fix(mobile): e2e state preservation test * fix(mobile): failing bridge unknown network test * fix(mobile): e2e test batch-malicious failing * fix(mobile): e2e settings-change-fallback-handler test * fix(mobile): e2e pending brindge test * fix(mobile): e2e test view tokens and nft failing * fix(mobile): e2e test import signing
64 lines
1.9 KiB
YAML
64 lines
1.9 KiB
YAML
appId: ${APP_ID}
|
|
tags:
|
|
- safe-shield
|
|
- pending-tx
|
|
---
|
|
# ===========================================
|
|
# SafeShield Test: Settings Change - setFallbackHandler
|
|
# ===========================================
|
|
# Tests SafeShield functionality for a setFallbackHandler settings change transaction.
|
|
# This transaction has "Checks passed" status with known contract.
|
|
|
|
# Launch app with SafeShield test safe
|
|
- runFlow:
|
|
file: '../../../../utils/setup/app-start.yml'
|
|
|
|
- tapOn:
|
|
id: 'e2eSafeShieldSafe'
|
|
|
|
- assertVisible:
|
|
id: 'pending-tx-list'
|
|
|
|
# Scroll to see the setFallbackHandler transaction card
|
|
- scrollUntilVisible:
|
|
element:
|
|
text: '.*setFallbackHandler.*'
|
|
centerElement: true
|
|
|
|
# Tap on the setFallbackHandler transaction card
|
|
- runFlow:
|
|
file: '../../../../utils/components/pending-tx/tap-tx-card.yml'
|
|
env:
|
|
WAIT_FOR: '.*setFallbackHandler.*'
|
|
TAP_TEXT: '.*setFallbackHandler.*'
|
|
|
|
- assertVisible: 'Confirm transaction'
|
|
|
|
# Verify SafeShield widget (OK severity - Checks passed)
|
|
- runFlow:
|
|
file: '../../../../utils/assertions/verify-safe-shield-widget.yml'
|
|
env:
|
|
WIDGET_HEADER: 'Issues found'
|
|
LABEL_1: 'Unofficial fallback handler'
|
|
LABEL_2: 'No threat detected'
|
|
|
|
# Verify balance change block (no balance change)
|
|
- runFlow:
|
|
file: '../../../../utils/assertions/verify-balance-change.yml'
|
|
env:
|
|
NO_CHANGE: 'true'
|
|
|
|
# Open and verify SafeShield details sheet
|
|
- runFlow:
|
|
file: '../../../../utils/assertions/verify-safe-shield-sheet.yml'
|
|
env:
|
|
TAP_TO_OPEN: 'Issues found'
|
|
HEADER: 'Issues found'
|
|
LABEL_1: 'Unofficial fallback handler'
|
|
DESCRIPTION_1: '.*Verify the fallback handler is trusted and secure before proceeding.*'
|
|
LABEL_2: 'No threat detected'
|
|
DESCRIPTION_2: '.*Threat analysis found no issues.*'
|
|
|
|
# Verify we're back on the confirm transaction screen
|
|
- assertVisible: 'Confirm transaction'
|