diff --git a/src/wayland/autotests/server/test_keyboard_shortcuts_inhibitor_interface.cpp b/src/wayland/autotests/server/test_keyboard_shortcuts_inhibitor_interface.cpp index ac4d068d59..517f8ee311 100644 --- a/src/wayland/autotests/server/test_keyboard_shortcuts_inhibitor_interface.cpp +++ b/src/wayland/autotests/server/test_keyboard_shortcuts_inhibitor_interface.cpp @@ -189,7 +189,7 @@ void TestKeyboardShortcutsInhibitorInterface::testKeyboardShortcuts() // Test activate inhibitorServer->setActive(true); - QVERIFY(inhibitorInactiveSpy.wait() || inhibitorInactiveSpy.count() == 1); + QVERIFY(inhibitorActiveSpy.wait() || inhibitorActiveSpy.count() == 1); // Test creating for another surface m_inhibitManagerClient->inhibit_shortcuts(m_clientSurfaces[1], m_clientSeat->operator wl_seat *());