Skip to content

test: tighten the jade locked journey's deposit and lock-line checks #2159

Backlog

Description

@ovitrif

Two Low points from the review of #2158 on journeys/hardware-wallet/jade-device-locked.xml, deferred so that PR kept its approval.

Funding step matches the deposit by amount and minute

From #2158 (review): on the shared regtest chain another run's 0.01 BTC Jade receipt in the same minute can satisfy the check, and with Hide Balance on, Home and All Activity mask the amount, so the step can time out on a correct run.

Fix: keep the txid that sendtoaddress prints and match it against the activity's Explore view.

Lock-line checks don't say which clock or which line

From #2158 (comment): app log lines are stamped in UTC (Logger.kt:401), while the device and activity rows use local time, so "for this tap" can be read hours off. On the Verify leg the Sign leg's line is still in the log, so grepping for the text alone passes even after a reconnect.

Fix: in both legs, ask for a new Marked Jade '…' locked after it logged out on the device line stamped within seconds of the tap (log times are UTC), and on the Verify leg one after the Sign leg's line.

Activity

  1. added theissue type on Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions