Updated on 2026-08-14
This commit is contained in:
parent
d0a713d0dd
commit
234b5f5dbf
1 changed files with 3 additions and 2 deletions
|
|
@ -312,8 +312,9 @@ fun BaseTestCase.readNetworkFeeAmount(): String {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Wait until the network fee value stops changing across two checks — the send button is disabled
|
* Wait until the network fee value stops changing across two checks — the send button stays disabled
|
||||||
* (and the hold-to-confirm gesture swallowed) until the fee finishes loading.
|
* (and the hold-to-confirm gesture is swallowed) until the fee re-fetch settles. The hold button has
|
||||||
|
* no enabled/disabled semantics, so waiting on the fee value is the only reliable readiness signal.
|
||||||
*/
|
*/
|
||||||
fun TestContext<Unit>.waitUntilNetworkFeeIsStable(readFee: () -> String) {
|
fun TestContext<Unit>.waitUntilNetworkFeeIsStable(readFee: () -> String) {
|
||||||
step("Wait for the network fee to finish loading") {
|
step("Wait for the network fee to finish loading") {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue