Files
LCEssentials/PediFoodsUITests/CartCheckoutFlowTests.swift
Developer @ Loverde Company 1a7d5c3d51 test(uitests): replace broken scratch-path screenshots with debugDescription dumps
All three failure-path screenshot saves in this file wrote to a
hardcoded path from a different machine/session
(/private/tmp/claude-501/-Users-loverde-co-.../scratchpad), which
doesn't exist under the Mac mini runner's user account - try? silently
swallowed the write failure, so no diagnostic evidence was actually
produced on CI failures.

Replaced with app.debugDescription printed to stdout, which lands
directly in the CI log with no extra file access needed - same
technique already used in
decisions/2026-08-06-ui-test-account-and-app-attest-bypass.md. Next
CartCheckoutFlowTests failure will show the actual accessibility
hierarchy at the point of timeout.
2026-09-11 10:21:43 -03:00

234 lines
12 KiB
Swift