Files
LCEssentials/PediFoodsUITests/CartCheckoutFlowTests.swift
Developer @ Loverde Company ea6a3da78b fix(uitests): replace illegal key path with a closure in quickDiagnostics
'.map(\.label)' failed to build: XCUIElement.label is @MainActor-isolated,
and a bare key path literal must be formable from any isolation context,
which a main-actor-isolated property can't satisfy. This was a hard
compiler error (not just a concurrency warning), and it cascaded into a
flood of secondary diagnostics across the whole file/batch compile unit,
obscuring the actual cause. Replaced with a closure ('{ $0.label }'),
which isn't subject to that restriction.
2026-09-11 11:02:02 -03:00

268 lines
13 KiB
Swift