Skip to content

Commit 3df8a18

Browse files
thymikeeclaude
andcommitted
test(ios): report the post-probe type error on failure
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
1 parent cb24591 commit 3df8a18

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎apple/runner/AgentDeviceRunner/AgentDeviceRunnerUITests/UnitTests/RunnerTests+TextInputProbeTests.swift‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,8 @@ extension RunnerTests {
237237
XCTAssertTrue(try execute(command: nextTap).ok)
238238
XCTAssertNotNil(textEntryTapWitness)
239239
let retype = try runnerCommandFixture(#"{"appBundleId":"com.callstack.agentdevice.runner","command":"type","commandId":"type-after-probe-recovery","text":"must-not-type","textEntryMode":"append"}"#)
240-
XCTAssertTrue(try execute(command: retype).ok)
240+
let retyped = try execute(command: retype)
241+
XCTAssertTrue(retyped.ok, String(describing: retyped.error))
241242
XCTAssertEqual(field.value as? String, "must-not-type")
242243
}
243244
#endif

0 commit comments

Comments
 (0)