test: WaitTx's timeout and consecutive-failed-lookup exit branches have no e2e coverage #315
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found while implementing #305. Not a defect — a coverage gap, and now cheap to close.
The e2e fixture previously answered
eth_getTransactionReceiptwith a constantnull, so no test had ever drivenWaitTxto a receipt at all. #314 addsopts.seedReceiptto the fixture, which gives the success path its first coverage and makes the receipt answer switchable.Two exit branches remain unexercised, both documented in
README.md's WaitTx screen map:These are different facts with different copy, and the second exists precisely so an RPC that never answers cannot leave the wait running indefinitely. Neither is asserted anywhere.
Definition of done
#view-error-txrenders with the timeout message.#view-error-txrenders with the unreachable-network message, distinct from the timeout message.seedReceiptfixture hook from #314; land after it.make checkgreen andmake test-e2egreen.