qt5base-lts/tests/auto/widgets
Volker Hilsheimer 3fbe201d21 Try to stabilize QWidget::enterLeaveOnWindowShowHide
The test is very flaky on Windows 11. Make sure that we have a secondary
window to close before proceeding, and wait for fade effects to finish,
otherwise we might never get the leave event from the windowing system.

Also replace a QVERIFY(qWaitFor) construct with a simple QTRY_VERIFY.

With these changes, a local run of 20 repeats of this test on a stressed
VM improves from 75% to 100%.

Pick-to: 6.3 6.2
Fixes: QTBUG-98477
Change-Id: Iedcc175b336e3cab23817b954aba1736d02f1b9d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
2022-03-23 03:31:44 +01:00
..
dialogs Tests: Do not depend on transitive includes 2022-03-17 17:14:37 +01:00
effects Fix tst_qgraphicseffect on Wayland 2021-03-11 08:04:21 +01:00
graphicsview Android: Blacklist failing tests on tst_QGraphicsProxyWidget 2022-03-22 17:49:05 +02:00
itemviews Repair some of tst_qtableview tests on Android 2022-03-15 21:05:31 +01:00
kernel Try to stabilize QWidget::enterLeaveOnWindowShowHide 2022-03-23 03:31:44 +01:00
styles QStyle: Fix cases when logicalValue is outside range 2022-03-10 12:39:11 +01:00
util Position QCompleter popup based on the widget's screen geometry 2022-02-15 01:28:30 +00:00
widgets Build QMenuBar test without warning 2022-03-20 23:19:03 +01:00
CMakeLists.txt Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00