[autotest] Test opposite direction in switchWindow
This commit is contained in:
parent
84b0578a71
commit
b1efdbaaf1
1 changed files with 9 additions and 0 deletions
|
@ -128,6 +128,15 @@ void KWinBindingsTest::testSwitchWindow()
|
|||
QTRY_COMPARE(workspace()->activeClient(), c3);
|
||||
invokeShortcut(QStringLiteral("Switch Window Left"));
|
||||
QTRY_COMPARE(workspace()->activeClient(), c4);
|
||||
// test opposite direction
|
||||
invokeShortcut(QStringLiteral("Switch Window Left"));
|
||||
QTRY_COMPARE(workspace()->activeClient(), c3);
|
||||
invokeShortcut(QStringLiteral("Switch Window Down"));
|
||||
QTRY_COMPARE(workspace()->activeClient(), c2);
|
||||
invokeShortcut(QStringLiteral("Switch Window Right"));
|
||||
QTRY_COMPARE(workspace()->activeClient(), c1);
|
||||
invokeShortcut(QStringLiteral("Switch Window Up"));
|
||||
QTRY_COMPARE(workspace()->activeClient(), c4);
|
||||
}
|
||||
|
||||
void KWinBindingsTest::testSwitchWindowScript()
|
||||
|
|
Loading…
Reference in a new issue