diff options
| author | Sebastian Englbrecht <[email protected]> | 2026-06-01 18:22:54 +0200 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2026-06-18 10:05:59 +0000 |
| commit | 5cd0c642f59924babe66d017d7c0ced7934de3d3 (patch) | |
| tree | a182680c067516ca5e91a8c67fd9eabf2cd4698d /src/tests/kitemlistcontrollerexpandtest.cpp | |
| parent | 91e7c0c1e032b6e3e0558b8048fce6a3b68d297a (diff) | |
tests: fix or skip tests on windows
Diffstat (limited to 'src/tests/kitemlistcontrollerexpandtest.cpp')
| -rw-r--r-- | src/tests/kitemlistcontrollerexpandtest.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/kitemlistcontrollerexpandtest.cpp b/src/tests/kitemlistcontrollerexpandtest.cpp index 06e58fe6b..c95423197 100644 --- a/src/tests/kitemlistcontrollerexpandtest.cpp +++ b/src/tests/kitemlistcontrollerexpandtest.cpp @@ -80,7 +80,13 @@ void KItemListControllerExpandTest::initTestCase() QVERIFY(m_spyDirectoryLoadingCompleted->wait()); m_container->show(); +#ifdef Q_OS_WIN + if (!QTest::qWaitForWindowExposed(m_container)) { + QSKIP("Window not exposed on Windows, probably running in a headless CI environment."); + } +#else QVERIFY(QTest::qWaitForWindowExposed(m_container)); +#endif } void KItemListControllerExpandTest::cleanupTestCase() { |
