File tree Expand file tree Collapse file tree
apple/runner/AgentDeviceRunner/AgentDeviceRunnerUITests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -220,21 +220,21 @@ final class RunnerTests: XCTestCase {
220220 }
221221
222222 #if AGENT_DEVICE_RUNNER_UNIT_TESTS
223- func testHostLocalNetworkPermissionMonitorSelectsOnlyTheDenialAction( ) {
224- let prompt = [ " Allow hosted compute to find devices on local networks? " ]
225- XCTAssertTrue (
226- Self . shouldDismissHostLocalNetworkPermission ( text: prompt, buttonLabel: " Don’t Allow " )
227- )
228- XCTAssertFalse (
229- Self . shouldDismissHostLocalNetworkPermission ( text: prompt, buttonLabel: " Allow " )
230- )
231- XCTAssertFalse (
232- Self . shouldDismissHostLocalNetworkPermission (
233- text: [ " System Settings wants to make changes " ] ,
234- buttonLabel: " Don’t Allow "
235- )
223+ func testHostLocalNetworkPermissionMonitorSelectsOnlyTheDenialAction( ) {
224+ let prompt = [ " Allow hosted compute to find devices on local networks? " ]
225+ XCTAssertTrue (
226+ Self . shouldDismissHostLocalNetworkPermission ( text: prompt, buttonLabel: " Don’t Allow " )
227+ )
228+ XCTAssertFalse (
229+ Self . shouldDismissHostLocalNetworkPermission ( text: prompt, buttonLabel: " Allow " )
230+ )
231+ XCTAssertFalse (
232+ Self . shouldDismissHostLocalNetworkPermission (
233+ text: [ " System Settings wants to make changes " ] ,
234+ buttonLabel: " Don’t Allow "
236235 )
237- }
236+ )
237+ }
238238 #endif
239239
240240 /// True for the one recorded-issue class the runner deliberately mutes: an AX-server error
You can’t perform that action at this time.
0 commit comments