Files
wallet/apps/mobile/.maestro/shared-flows/delete-seed-phrase.yaml
zeekay 55a7f247ca init: extract wallet from lux/exchange monorepo
Copies apps/extension, apps/mobile and 10 pkgs (wallet, ui, config,
utilities, sessions, gating, notifications, analytics, eslint-config,
prices) into a standalone pnpm workspace.  Resolves merge conflict
markers in extension and mobile package.json files, strips build
artifacts (.wxt, .output, Pods).
2026-04-11 01:59:19 -07:00

84 lines
2.0 KiB
YAML

# Shared flow for deleting a wallet's seed phrase through the settings menu
appId: com.uniswap.mobile.dev
---
# Wait for the SettingsIcon button to be visible; without this, e2e test sometimes registers a success but the button is not actually tapped.
- extendedWaitUntil:
visible: 'noop'
timeout: 2000
optional: true
# Start tracking shared flow
- runScript:
file: ../scripts/performance/dist/actions/start-sub-flow.js
env:
SUB_FLOW_NAME: 'shared-delete-seed-phrase'
# Navigate to settings
- runScript:
file: ../scripts/performance/dist/actions/track-action.js
env:
ACTION: 'tapOn'
TARGET: 'SettingsIcon'
PHASE: 'start'
- tapOn:
id: 'account-header-settings-icon'
- runScript:
file: ../scripts/performance/dist/actions/track-action.js
env:
ACTION: 'tapOn'
TARGET: 'SettingsIcon'
PHASE: 'end'
- waitForAnimationToEnd
# Swipe to dev modal
- scrollUntilVisible:
element:
id: 'app-settings-dev-modal'
direction: DOWN
- waitForAnimationToEnd
# Open dev modal
- runScript:
file: ../scripts/performance/dist/actions/track-action.js
env:
ACTION: 'tapOn'
TARGET: 'DevModal'
PHASE: 'start'
- tapOn:
id: 'app-settings-dev-modal'
- runScript:
file: ../scripts/performance/dist/actions/track-action.js
env:
ACTION: 'tapOn'
TARGET: 'DevModal'
PHASE: 'end'
- waitForAnimationToEnd
# Open seed phrase accordion
- tapOn:
id: 'seed-phrase-private-keys-accordion'
# Delete seed phrase
- runScript:
file: ../scripts/performance/dist/actions/track-action.js
env:
ACTION: 'tapOn'
TARGET: 'DeleteSeedPhrase'
PHASE: 'start'
- tapOn:
id: 'delete-seed-phrase-button'
- tapOn: 'Delete'
- runScript:
file: ../scripts/performance/dist/actions/track-action.js
env:
ACTION: 'tapOn'
TARGET: 'DeleteSeedPhrase'
PHASE: 'end'
# End tracking shared flow
- runScript:
file: ../scripts/performance/dist/actions/end-sub-flow.js
env:
SUB_FLOW_NAME: 'shared-delete-seed-phrase'