[autotests] Try making StrutsTest::testWindowMoveWithPanelBetweenScreens more robust
Flaky on build.kde.org. Let's add some more time between the movements.
This commit is contained in:
parent
ad4a3107d5
commit
5ff9aa7cf5
1 changed files with 1 additions and 0 deletions
|
@ -945,6 +945,7 @@ void StrutsTest::testWindowMoveWithPanelBetweenScreens()
|
||||||
// move to next screen - step is 8 pixel, so 800 pixel
|
// move to next screen - step is 8 pixel, so 800 pixel
|
||||||
for (int i = 0; i < 100; i++) {
|
for (int i = 0; i < 100; i++) {
|
||||||
client2->keyPressEvent(Qt::Key_Left);
|
client2->keyPressEvent(Qt::Key_Left);
|
||||||
|
QTest::qWait(50);
|
||||||
}
|
}
|
||||||
client2->keyPressEvent(Qt::Key_Enter);
|
client2->keyPressEvent(Qt::Key_Enter);
|
||||||
QCOMPARE(client2->isMove(), false);
|
QCOMPARE(client2->isMove(), false);
|
||||||
|
|
Loading…
Reference in a new issue