Skip to content

Test/trezor foundations e2e tests#184

Open
piotr-iohk wants to merge 12 commits into
mainfrom
test/trezor-foundations
Open

Test/trezor foundations e2e tests#184
piotr-iohk wants to merge 12 commits into
mainfrom
test/trezor-foundations

Conversation

@piotr-iohk

@piotr-iohk piotr-iohk commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

Part of: synonymdev/bitkit-android#1030


Note

Low Risk
Changes are confined to E2E infra, docs, and test helpers; Trezor services are opt-in via compose profiles and env flags, with no default runtime impact on existing suites.

Overview
Introduces manual and automated Trezor hardware-wallet testing without changing the default docker stack: pinned Trezor User Env services under compose profiles (trezor / trezor-linux), plus scripts/trezor-emulator and scripts/trezor-controller.py to start Bridge/emulator, print or JSON-export mnemonic and regtest receive address, and manage lifecycle.

Build and CI plumbing passes optional TREZOR_BRIDGE / TREZOR_BRIDGE_URL (and iOS TREZOR_ELECTRUM_URL) into Android/iOS E2E builds, and ADB reverse for port 21325 in ci_run_android.sh and adb-reverse.sh. README documents emulator setup and platform-specific flows.

Test layer adds test/helpers/hardware-wallet.ts, openHomeWidgets navigation, exports expectBalanceWithWait, and receiveOnchainFunds({ verifyBalances }) so mixed hardware + savings balances can be asserted. New @hardware_wallet spec (Android-only) covers connect/remove via widget suggestion and onchain receive to the emulator address with balance checks.

Reviewed by Cursor Bugbot for commit 87a054c. Bugbot is set up for automated code reviews on this repo. Configure here.

@piotr-iohk piotr-iohk self-assigned this Jun 19, 2026
@piotr-iohk

Copy link
Copy Markdown
Collaborator Author

@cursor review

Comment thread scripts/trezor-emulator
Comment thread scripts/trezor-emulator Outdated
@piotr-iohk

Copy link
Copy Markdown
Collaborator Author

@cursor review

Comment thread scripts/trezor-emulator
Comment thread scripts/trezor-emulator
@piotr-iohk piotr-iohk changed the title Test/trezor foundations Test/trezor foundations e2e tests Jun 19, 2026
@piotr-iohk

Copy link
Copy Markdown
Collaborator Author

@cursor review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 87a054c. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant