mirror of
https://github.com/callstack/agent-device.git
synced 2026-09-14 20:06:34 +08:00
2e04edd869
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>
27 lines
571 B
Plaintext
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
|
|
}
|