Files
callstack__agent-device/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests.xctestplan
Hwidong Bae 2e04edd869 fix: prevent runner XCTest attachment bloat (#520)
Long-running AgentDeviceRunnerUITests sessions can inherit Xcode 26 screenRecording/deleteOnSuccess defaults and leave hidden testmanagerd attachments behind when sessions terminate outside a clean XCTest success path.

Pin an explicit AgentDeviceRunnerUITests.xctestplan with screenshots and keepNever attachment lifetimes, then normalize the generated per-session .xctestrun copy before test-without-building. The .xctestrun normalization protects stale cached artifacts and Xcode versions that ignore some test-plan attachment lifetime keys during build-for-testing.

This only affects XCTest's automatic attachments; user-requested agent-device recordings still use the existing record command paths.

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
2026-05-14 14:24:33 +02:00

27 lines
571 B
Plaintext

{
"configurations" : [
{
"id" : "916C7049-FE79-4C78-B55F-79242F92CB19",
"name" : "Configuration 1",
"options" : {
}
}
],
"defaultOptions" : {
"preferredScreenCaptureFormat" : "screenshots",
"systemAttachmentLifetime" : "keepNever",
"userAttachmentLifetime" : "keepNever"
},
"testTargets" : [
{
"target" : {
"containerPath" : "container:AgentDeviceRunner.xcodeproj",
"identifier" : "20EA2EDC2F2CFC7C001CF0EF",
"name" : "AgentDeviceRunnerUITests"
}
}
],
"version" : 1
}