Similar to COIN-892, I've noticed that openSUSE seems to have the same problem with tests failing due to lack of window focus. A good example where a lot of tests fail is seen here.
Window activation failures on macOS in CI
tst_qquickapplication::active() is flaky on opensuse
tst_qgraphicsitem::sorting fails if testcase is executed individually