From a977ba3311cdc69f3455f5258143fea10c17612e Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Tue, 11 May 2021 03:52:11 +0200 Subject: [PATCH] GlobalShortcutsTest: Fix testNonLatinLayout Have it switch back from the Russian layout, otherwise the rest of tests are run with this one and fail as they produce weird shortcuts. --- autotests/integration/globalshortcuts_test.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autotests/integration/globalshortcuts_test.cpp b/autotests/integration/globalshortcuts_test.cpp index a59047300d..5fab4246f6 100644 --- a/autotests/integration/globalshortcuts_test.cpp +++ b/autotests/integration/globalshortcuts_test.cpp @@ -76,6 +76,9 @@ void GlobalShortcutsTest::init() QVERIFY(Test::setupWaylandConnection()); screens()->setCurrent(0); KWin::Cursors::self()->mouse()->setPos(QPoint(640, 512)); + + auto xkb = input()->keyboard()->xkb(); + xkb->switchToLayout(0); } void GlobalShortcutsTest::cleanup()