Fix for flaky tests (#5869)

* possible logging tests fix

* fix for flaky tests

* use timelimit for max test time

* pr suggestions

* remove comment
This commit is contained in:
Mauro
2026-07-14 18:01:36 +02:00
committed by GitHub
parent 85f28d017d
commit 39bd882a27
14 changed files with 231 additions and 132 deletions
@@ -550,20 +550,3 @@ final class RoomFlowCoordinatorTests {
private enum RoomType {
case invited(roomID: String)
}
// Sendable projections of the stack coordinator's non-Sendable coordinator references,
// allowing the tests to `observe` them and wait for navigation with `deferFulfillment`.
private extension NavigationStackCoordinator {
var rootCoordinatorID: ObjectIdentifier? {
rootCoordinator.map { ObjectIdentifier($0) }
}
/// The identity of the topmost coordinator on the stack.
var topCoordinatorID: ObjectIdentifier? {
stackCoordinators.last.map { ObjectIdentifier($0) }
}
var sheetCoordinatorID: ObjectIdentifier? {
sheetCoordinator.map { ObjectIdentifier($0) }
}
}