autotests: Make testStruts quicker

As far as I can tell, there's no reason to add an artificial delay of
50ms, which repeated 100 times accumulates to 5 seconds.
This commit is contained in:
Vlad Zahorodnii 2023-01-12 00:34:31 +02:00
parent 1c3610413d
commit 7a8bb01323

View file

@ -970,7 +970,6 @@ void StrutsTest::testWindowMoveWithPanelBetweenScreens()
// move to next screen - step is 8 pixel, so 800 pixel
for (int i = 0; i < 100; i++) {
window2->keyPressEvent(Qt::Key_Left);
QTest::qWait(50);
}
window2->keyPressEvent(Qt::Key_Enter);
QCOMPARE(window2->isInteractiveMove(), false);