Files
Daniel DimitrovandGitHub 69577fc3b2 tests(mobile): fix failing e2e tests (#7247)
* 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
2026-02-23 17:52:35 +01:00

87 lines
2.6 KiB
YAML

appId: ${APP_ID}
tags:
- transactions
- pending
- safe-shield
---
# ===========================================
# SafeShield: Pending Bridge (AAVE → Ethereum)
# ===========================================
# Safe: 0x65e1Ff7e0901055B3bea7D8b3AF457a659714013 (Polygon)
# Expected widget: Issues found (WARN)
# - Missing ownership (WARN)
# - Verified contract (OK)
# - Threat analysis failed (WARN)
# - Balance change: No balance change detected
# - No disclaimer (not CRITICAL)
- runFlow:
file: ../../../../utils/setup/app-start.yml
- tapOn:
id: 'e2eSafeShieldSafe'
- assertVisible:
id: 'pending-tx-list'
# Scroll to see the bridge transaction at the bottom
- scrollUntilVisible:
element:
text: '.*Pending bridge.*'
index: 0
- runFlow:
file: ../../../../utils/components/pending-tx/tap-tx-card.yml
env:
WAIT_FOR: '.*Pending bridge.*'
TAP_TEXT: '.*Pending bridge.*'
- assertVisible: 'Confirm transaction'
# ===========================================
# SafeShield Widget
# ===========================================
- runFlow:
file: ../../../../utils/assertions/verify-safe-shield-widget.yml
env:
WIDGET_HEADER: 'Issues found'
LABEL_1: 'Low activity recipient'
LABEL_2: 'Verified contract'
LABEL_3: 'Threat analysis failed'
RUN_SIMULATION: 'true'
SIMULATION_RESULT: 'fail'
# ===========================================
# Balance Change Block
# ===========================================
- runFlow:
file: ../../../../utils/assertions/verify-balance-change.yml
env:
NO_CHANGE: 'true'
# ===========================================
# SafeShield Details Sheet
# ===========================================
- runFlow:
file: ../../../../utils/assertions/verify-safe-shield-sheet.yml
env:
TAP_TO_OPEN: 'Issues found'
HEADER: 'ISSUES FOUND'
LABEL_1: 'Low activity recipient'
DESCRIPTION_1: '.*but with a different configuration.*'
DESCRIPTION_1_2: '.*has few transactions.*'
DESCRIPTION_1_3: '.*in your address book.*'
LABEL_2: 'Verified contract'
DESCRIPTION_2: '.*contracts are verified.*'
EXPAND_SHOW_ALL: 'true'
EXPANDED_ADDRESS: '0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE'
VERIFY_CLIPBOARD: 'true'
ADDRESS_TO_COPY: '0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE'
EXPECTED_CLIPBOARD_TEXT: '0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE'
LABEL_3: 'Threat analysis failed'
DESCRIPTION_3: '.*Threat analysis failed.*Review before processing.*'
SCROLL_TO_FOOTER: 'true'
# Verify back on Confirm transaction screen
- assertVisible: 'Confirm transaction'