diff --git a/autotests/integration/plasma_surface_test.cpp b/autotests/integration/plasma_surface_test.cpp index b30cd891aa..0a7ca1f2a8 100644 --- a/autotests/integration/plasma_surface_test.cpp +++ b/autotests/integration/plasma_surface_test.cpp @@ -41,7 +41,6 @@ private Q_SLOTS: void testAcceptsFocus_data(); void testAcceptsFocus(); - void testDesktopIsOpaque(); void testPanelWindowsCanCover_data(); void testPanelWindowsCanCover(); void testOSDPlacement(); @@ -173,27 +172,6 @@ void PlasmaSurfaceTest::testAcceptsFocus() QTEST(c->isActive(), "active"); } -void PlasmaSurfaceTest::testDesktopIsOpaque() -{ - QScopedPointer surface(Test::createSurface()); - QVERIFY(!surface.isNull()); - QScopedPointer shellSurface(Test::createXdgShellStableSurface(surface.data())); - QVERIFY(!shellSurface.isNull()); - QScopedPointer plasmaSurface(m_plasmaShell->createSurface(surface.data())); - QVERIFY(!plasmaSurface.isNull()); - plasmaSurface->setRole(PlasmaShellSurface::Role::Desktop); - - // now render to map the window - auto c = Test::renderAndWaitForShown(surface.data(), QSize(100, 50), Qt::blue); - - QVERIFY(c); - QCOMPARE(c->windowType(), NET::Desktop); - QVERIFY(c->isDesktop()); - - QVERIFY(!c->hasAlpha()); - QCOMPARE(c->depth(), 24); -} - void PlasmaSurfaceTest::testOSDPlacement() { QScopedPointer surface(Test::createSurface());