Test/trezor foundations e2e tests#184
Open
piotr-iohk wants to merge 12 commits into
Open
Conversation
Collaborator
Author
|
@cursor review |
Collaborator
Author
|
@cursor review |
Collaborator
Author
|
@cursor review |
There was a problem hiding this comment.
✅ 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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), plusscripts/trezor-emulatorandscripts/trezor-controller.pyto 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 iOSTREZOR_ELECTRUM_URL) into Android/iOS E2E builds, and ADB reverse for port 21325 inci_run_android.shandadb-reverse.sh. README documents emulator setup and platform-specific flows.Test layer adds
test/helpers/hardware-wallet.ts,openHomeWidgetsnavigation, exportsexpectBalanceWithWait, andreceiveOnchainFunds({ verifyBalances })so mixed hardware + savings balances can be asserted. New@hardware_walletspec (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.