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]>
26 lines
670 B
YAML
26 lines
670 B
YAML
appId: ${APP_ID}
|
|
tags:
|
|
- walletconnect-dapps
|
|
---
|
|
# Empty state: with no sessions in the slice, the "Connected apps" settings
|
|
# entry must not render at all (ConnectedDappsEntry returns null at count 0).
|
|
|
|
- runFlow:
|
|
file: ../../utils/setup/app-start.yml
|
|
|
|
- tapOn:
|
|
id: 'e2eWcDappsBase'
|
|
- assertVisible:
|
|
id: 'home-tab'
|
|
|
|
# Open account settings. Anchor on the Signers row (rendered just above the
|
|
# connected-apps slot) to prove the screen loaded before the negative assert.
|
|
- tapOn: 'Account, tab, 3 of 3'
|
|
- extendedWaitUntil:
|
|
visible:
|
|
id: 'settings-signers-list-item'
|
|
timeout: 10000
|
|
|
|
- assertNotVisible:
|
|
id: 'settings-connected-apps-entry'
|