qt6-bb10/tests/auto/widgets/kernel
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
..
qaction Don't fire shortcut if the action only lives in an unreachable submenu 2021-10-25 17:17:40 +00:00
qactiongroup Remove the qmake project files 2021-01-07 15:32:28 +01:00
qapplication QProcess/Unix: ensure we don't accidentally execute something from CWD 2022-02-09 11:26:32 -08:00
qboxlayout Remove the qmake project files 2021-01-07 15:32:28 +01:00
qformlayout QFormLayout: Fix assert when showing with hidden rows 2022-03-15 12:45:46 +01:00
qgesturerecognizer Fix widget gesture grabbing 2021-12-11 00:51:10 +01:00
qgridlayout Activate all tst_qgridlayout tests on Android 2022-02-22 17:22:59 +01:00
qlayout Cleanup tests that add test data to resources explicitly 2022-02-11 21:54:44 +01:00
qshortcut Further improve QShortcut test 2022-01-18 22:42:44 +01:00
qsizepolicy Remove the qmake project files 2021-01-07 15:32:28 +01:00
qstackedlayout Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtooltip Unskip QToolTip::keyEvent test on macOS 2021-09-09 19:22:55 +00:00
qwidget Try to stabilize QWidget::enterLeaveOnWindowShowHide 2022-03-23 03:31:44 +01:00
qwidget_window Fix compiler warnings by marking overrides in test 2022-01-07 21:49:57 +01:00
qwidgetaction QWidgetAction: add test for defaultWidget() being deleted before action 2021-06-22 11:38:32 +02:00
qwidgetmetatype Remove the qmake project files 2021-01-07 15:32:28 +01:00
qwidgetrepaintmanager Add unit test for moving of opaque widgets 2021-12-08 23:06:42 +00:00
qwidgetsvariant Remove the qmake project files 2021-01-07 15:32:28 +01:00
qwindowcontainer Remove the qmake project files 2021-01-07 15:32:28 +01:00
CMakeLists.txt Add testcase for QWidgetRepaintManager 2021-09-30 21:10:48 +02:00