1 suggestion
Optional improvements
[suggestion] · Retried clicks still pass integration tests with only a warning
Default click retries can hide a swallowed first gesture from CI for controls with clicked(), limiting the new real-pointer coverage rather than regressing the migrated functional bridge.
Location: test/integration/fixture/test_util.h:182 (head).
Details and suggested fix
Click(QObject*) delegates to ClickWithRetries, which sends gestures until the target emits pressed() or clicked(). If a transient overlay consumes the first gesture but a later one reaches the target, the helper returns success and subsequent state assertions can pass. The retry produces only a C++ qWarning: the result parser records it as a message, the QML-engine warning observer does not cover it, and the integration CTest entries do not reject it.
Make the default Click require first-gesture delivery, and keep ClickWithRetries as an explicit opt-in for journeys that intentionally tolerate modal-exit input consumption. Count gestures actually sent rather than unsuccessful polling attempts. This preserves the documented tolerance where needed without applying it to every button assertion. The functional bridge already bypassed hit testing through AbstractButton::click() on Qt 6.8+, so this recommendation strengthens the new coverage; retry frequency in the current suites has not been measured, and strict call sites may need additional readiness waits.