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.
remotes/origin/work/i18n
Vlad Zahorodnii 3 years ago
parent 1c3610413d
commit 7a8bb01323
  1. 1
      autotests/integration/struts_test.cpp

@ -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);

Loading…
Cancel
Save