-
Notifications
You must be signed in to change notification settings - Fork 362
LLM:End to end testing
This unfinished guide is about a feature in development, stuff will change
Configuration is located inside detox.config.js.
You must make sure that the architecture of the executable that will be chosen for the test corresponds to that of the emulator.
This variable will determine which executable will be used.
const androidArch = "XXX";
It must match the result of this command, retrieving the architecture of your
adb shell getprop ro.product.cpu.abi
First, launch a dev (Metro) instance of LLM in another terminal.
pnpm dev:llm
Then build the app executables that will be used for testing.
pnpm mobile detox build-framework-cache
Then launch a test ! Configurations are defined inside detox.config.js under "configurations" variable.
pnpm mobile e2e:test -c {configuration name} {path to test spec}
ex:
pnpm mobile e2e:test -c android.emu.debug apps/ledger-live-mobile/e2e/specs/onboarding.spec.ts
On my setup, Pixel 2 API 29 architecture x86 with Ubuntu 20.04, I couldn't pass any test steps that try to prompt the device's bluetooth, like tests involving SelectDevice component. I needed to comment calls to NativeModules.BluetoothHelperModule.prompt() to make them work.
- Ledger Live Desktop
- Ledger Live Mobile
-
Ledger Live Common
- Introduction
- Currency Models
- Currency Bridge
- Account
- Account Bridge
- apps
- appsCheckAllAppVersions
- ledger-live bot
- Canonical Ways to Investigate Bugs
- Coin Integration Introduction
- Countervalues
- Packages Duplicates
- Derivation
- Developing with CLI
- Developing
- Gist Firmware Update
- Gist Transaction
- Hardware Wallet Logic
- Socket
- Assorted tips
- Integration Tests
- Process
- Monorepository Migration Guide
- Issues, Workaround and Tricks
- Common CI Troubleshooting
- Create staging builds using the CI
- Deprecated