Skip to content

Commit d14dfab

Browse files
authored
fix(ios): support no-op xctest runner startup (#807)
1 parent feb5309 commit d14dfab

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@ final class RunnerTests: XCTestCase {
9191

9292
@MainActor
9393
func testCommand() throws {
94+
if RunnerEnv.isTruthy("AGENT_DEVICE_RUNNER_NOOP_STARTUP") {
95+
NSLog("AGENT_DEVICE_RUNNER_NOOP_STARTUP=1")
96+
return
97+
}
98+
9499
doneExpectation = expectation(description: "agent-device command handled")
95100
NSLog("AGENT_DEVICE_RUNNER_HEADLESS_STARTUP=1")
96101
let desiredPort = RunnerEnv.resolvePort()

0 commit comments

Comments
 (0)