mirror of
https://github.com/luxfi/wallet.git
synced 2026-10-30 15:13:19 +00:00
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).
60 lines
1.8 KiB
YAML
60 lines
1.8 KiB
YAML
# this flow should be used at the beginning of every flow that tests the app
|
|
# it will generate the test ids and launch the app consistently across all flows
|
|
appId: com.uniswap.mobile.dev
|
|
---
|
|
- runScript: ../scripts/dist/testIds.js
|
|
|
|
# Start tracking shared flow
|
|
- runScript:
|
|
file: ../scripts/performance/dist/actions/start-sub-flow.js
|
|
env:
|
|
SUB_FLOW_NAME: "shared-start"
|
|
|
|
# Track app launch
|
|
- runScript:
|
|
file: ../scripts/performance/dist/actions/track-action.js
|
|
env:
|
|
ACTION: "launchApp"
|
|
TARGET: "app"
|
|
PHASE: "start"
|
|
- launchApp:
|
|
permissions:
|
|
contacts: unset
|
|
notifications: unset
|
|
clearState: true
|
|
clearKeychain: true # optional: clear *entire* iOS keychain
|
|
# Handle Expo Dev Client screens (only present in development builds, not CI/prod builds)
|
|
- runFlow:
|
|
when:
|
|
true: ${CI != 'true'}
|
|
commands:
|
|
# Launch dev client with disableOnboarding to skip onboarding popup (only works for iOS)
|
|
- openLink: "uniswap://expo-development-client/?url=http://localhost:8081&disableOnboarding=1"
|
|
# Wait for app to fully load after deep link
|
|
- waitForAnimationToEnd
|
|
# On Android, disableOnboarding doesn't work - tap the Metro server URL to continue
|
|
- tapOn:
|
|
text: ".*:8081"
|
|
optional: true
|
|
- waitForAnimationToEnd
|
|
# Dismiss the expo dev menu
|
|
- tapOn:
|
|
text: "continue"
|
|
- tapOn:
|
|
point: "10%,10%"
|
|
retryTapIfNoChange: false
|
|
optional: true
|
|
- waitForAnimationToEnd
|
|
- runScript:
|
|
file: ../scripts/performance/dist/actions/track-action.js
|
|
env:
|
|
ACTION: "launchApp"
|
|
TARGET: "app"
|
|
PHASE: "end"
|
|
|
|
# End tracking shared flow
|
|
- runScript:
|
|
file: ../scripts/performance/dist/actions/end-sub-flow.js
|
|
env:
|
|
SUB_FLOW_NAME: "shared-start"
|