┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/tests/kitemlistcontrollertest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/kitemlistcontrollertest.cpp')
-rw-r--r--src/tests/kitemlistcontrollertest.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/kitemlistcontrollertest.cpp b/src/tests/kitemlistcontrollertest.cpp
index 2b0e5456d..2125755bb 100644
--- a/src/tests/kitemlistcontrollertest.cpp
+++ b/src/tests/kitemlistcontrollertest.cpp
@@ -157,7 +157,13 @@ void KItemListControllerTest::initTestCase()
QVERIFY(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 KItemListControllerTest::cleanupTestCase()