Skip to content

Commit ad75091

Browse files
authored
Merge branch 'main' into refactor/e2e/liquorice_api_alloy_bindings
2 parents 697344f + 5172042 commit ad75091

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

crates/e2e/tests/e2e/liquidity_source_notification.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,13 @@ http-timeout = "10s"
328328
assert!(trade.is_some());
329329

330330
// Ensure that notification was delivered to Liquorice API
331+
wait_for_condition(TIMEOUT, || async {
332+
let state = liquorice_api.get_state().await;
333+
!state.notification_requests.is_empty()
334+
})
335+
.await
336+
.unwrap();
337+
331338
let notification = liquorice_api
332339
.get_state()
333340
.await

0 commit comments

Comments
 (0)