mirror of
https://github.com/luxfi/safe-wallet.git
synced 2026-10-30 15:19:21 +00:00
* docs(mobile): clarify e2e store immutability and proposal-sheet a11y comments
Note that createE2eStore state must be updated via set() (shallow-cloned initial),
and that RequestSheetHost's accessible={false} matches the app's other sheets.
* tests(mobile): add WalletConnect connected-dApps management Maestro flows
Covers WA-2325: the conditional "Connected apps" settings entry and all
three disconnect paths (3-dots menu, swipe-to-trash, dApp-initiated
session_delete), plus the cancel path and the explicit no-toast negative
assertion for the dApp-initiated case. Adds a seedWcSession harness
helper (TestCtrls: e2eWcSeedSession) so management flows start with an
approved session without replaying pairing.
---------
Co-authored-by: Hanzo Dev <[email protected]>
28 lines
610 B
YAML
28 lines
610 B
YAML
appId: ${APP_ID}
|
|
tags:
|
|
- walletconnect-dapps
|
|
---
|
|
# Entry visible: seed one approved session → the "Connected apps" settings
|
|
# entry renders with count 1. (The chevron is a decorative icon without a
|
|
# test-id; the entry + count assertions cover the row.)
|
|
|
|
- runFlow:
|
|
file: ../../utils/setup/app-start.yml
|
|
|
|
- tapOn:
|
|
id: 'e2eWcDappsBase'
|
|
- assertVisible:
|
|
id: 'home-tab'
|
|
|
|
- tapOn:
|
|
id: 'e2eWcSeedSession'
|
|
|
|
- tapOn: 'Account, tab, 3 of 3'
|
|
- extendedWaitUntil:
|
|
visible:
|
|
id: 'settings-connected-apps-entry'
|
|
timeout: 10000
|
|
- assertVisible:
|
|
id: 'connected-apps-count'
|
|
text: '1'
|