diff --git a/autotests/themetest.cpp b/autotests/themetest.cpp --- a/autotests/themetest.cpp +++ b/autotests/themetest.cpp @@ -208,7 +208,10 @@ if (!KWindowSystem::isPlatformX11()) { QSKIP("Test is only for X11"); } - QVERIFY(!KWindowSystem::compositingActive()); + + if (KWindowSystem::compositingActive()) { + QSKIP("Test can only be performed without a running window manager"); + } // image path should give us an opaque variant QVERIFY(m_theme->imagePath(QStringLiteral("element")).endsWith(QLatin1String("/desktoptheme/testtheme/opaque/element.svg")));