HomePhabricator

[Cashtab] Improve flakiness in orderbook tests

Description

[Cashtab] Improve flakiness in orderbook tests

Summary:
The min amounts are calculated, so can have a race condition here.

Use await screen.findByText for values that are expected to appear after async.

Test Plan: npm test

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D17090

Details

Provenance
bytesofmanAuthored on Nov 6 2024, 18:08
bytesofmanPushed on Nov 7 2024, 13:57
Reviewer
Restricted Project
Differential Revision
D17090: [Cashtab] Improve flakiness in orderbook tests
Parents
rABC6421249b8246: [ecash-herald] parse new miner westpool
Branches
Unknown
Tags
Unknown