tests: add PhysicsTestCase QML type


TestCase blocks used a "when: <condition>" pattern with an empty
placeholder function that QtQuickTest never actually recognized as a
test (function names require a "test_" prefix), so a scene that never
reached its expected state would hang the test binary forever instead
of failing.

Add a QtQuick3D.Physics.TestUtils::PhysicsTestCase type that fails with
a clear message if its goalReached condition isn't met within
timeoutSecs (30s by default), and switch every auto test to use it
instead of duplicating the timeout logic.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Pick-to: 6.12 6.11 6.8
Change-Id: I38993983d135432150f342d7286eb54214bbd42c
Reviewed-by: Jonas Karlsson <jonas.karlsson@qt.io>
commit740ce88214bb9f0ae2190280626791cedcb7bf18
parente1041b5be292f8e4deae76610ebaa73813415a1e
authorJonas Karlsson <jonas.karlsson@qt.io>
committerJonas Karlsson <jonas.karlsson@qt.io>
commit timeWed, 5 Aug 2026 22:16:20 +0000