We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e16511 commit 1d616b8Copy full SHA for 1d616b8
1 file changed
ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests.swift
@@ -91,6 +91,12 @@ final class RunnerTests: XCTestCase {
91
92
@MainActor
93
func testCommand() throws {
94
+ let isHeadlessStartup = ProcessInfo.processInfo.environment["AGENT_DEVICE_RUNNER_HEADLESS_STARTUP"] == "1"
95
+ if !isHeadlessStartup {
96
+ NSLog("AGENT_DEVICE_RUNNER_HEADLESS_STARTUP=0")
97
+ return
98
+ }
99
+
100
doneExpectation = expectation(description: "agent-device command handled")
101
NSLog("AGENT_DEVICE_RUNNER_HEADLESS_STARTUP=1")
102
let desiredPort = RunnerEnv.resolvePort()
0 commit comments