3D: Fix flaky auto test in tst_scene


The test failed because it was strictly made to pass in CI. This commit
changes it to be platform agnostic

Pick-to: 6.12 6.11 6.8
Change-Id: Ibf219107d93e5232aeeb1112af98753dad515c83
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
commit4d083c511adc62185d87250b71861627e3336a7f
parent8b9ffb68f8d2ef8af93b331807c86d5b072f7afa
authorSami Varanka <sami.varanka@qt.io>
committerSami Varanka <sami.varanka@qt.io>
commit timeMon, 14 Sep 2026 05:22:57 +0000