Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ extension RunnerTests {
}
app.launchArguments = ["--agent-device-selector-read-regression"]
app.launch()
// Resolve the application element while nothing is stubbed: on a fresh simulator the first
// resolution is slow, and it must not be the block the plan abandons.
XCTAssertTrue(app.wait(for: .runningForeground, timeout: 10))
XCTAssertFalse(app.frame.isEmpty)
currentApp = app
currentBundleId = "com.callstack.agentdevice.runner.tree-capture-test"
snapshotXCTestPenaltyWarmupExemptionPending = true
Expand Down Expand Up @@ -89,7 +93,7 @@ extension RunnerTests {
planned.fulfill()
}

wait(for: [planned], timeout: 30)
wait(for: [planned], timeout: 60)
let drainDeadline = Date().addingTimeInterval(3)
while hasAbandonedMainThreadWork(), Date() < drainDeadline {
sleepFor(0.005)
Expand Down
Loading