Developer @ Loverde Company 6da8b05cfb test(uitests): embed live-state diagnostics in assertion messages, not a file
The file-based diagnostic dump never worked: PediFoodsUITests-Runner
runs as an app inside the simulator, sandboxed to that device's own
container filesystem. NSTemporaryDirectory() called from test code
resolves inside the simulator's data container, invisible to the host
shell's $TMPDIR a later CI step tried to cat - confirmed by the new
step printing 'No UI test diagnostic log was written.' every time.

Replaced with quickDiagnostics(_:), which builds a short live-state
summary (closed-store snackbar, spinning activity indicator, any open
alert, visible 'erro' text, first ~15 visible static texts) and
interpolates it directly into each of the three XCTAssertTrue failure
messages - the one channel already confirmed working end to end on
every run. message: is @autoclosure, so this costs nothing when the
assertion passes. Removed the dead file-write helper and the now-unused
CI step.

See decisions/2026-09-11-ui-test-shared-login-session.md follow-up.
2026-09-11 10:57:48 -03:00
2026-08-11 13:22:02 -03:00
2026-08-11 13:22:02 -03:00
2026-08-11 13:22:02 -03:00
2026-08-11 13:22:02 -03:00


Pedi Foods

This is a private repository.
Read the license

Owner

Any question or doubts, please send thru email

Daniel Arantes Loverde - daniel@loverde.com.br
Clarice Moro Arantes Loverde - clarice@loverde.com.br
Gustavo Moro Arantes Loverde - gustavo@loverde.com.br
Mariana Moro Arantes Loverde - mariana@loverde.com.br

Autor: Daniel Arantes Loverde

Description
Swift and SwiftUI algorithms helpers
Readme 31 MiB
v2.1.0 Latest
2026-09-16 13:32:23 -03:00
Languages
Swift 93.7%
C++ 6.3%