[autotests] Wait longer in LockScreenTest

It timed out on build.kde.org, so let's try to wait longer.
This commit is contained in:
Martin Gräßlin 2016-11-25 07:56:24 +01:00
parent f9f7b84cb4
commit ce7a9476f9

View file

@ -238,14 +238,14 @@ void LockScreenTest::testPointer()
LOCK
QVERIFY(leftSpy.wait(100));
QVERIFY(leftSpy.wait());
QCOMPARE(leftSpy.count(), 1);
// simulate moving out in and out again
MOTION(c->geometry().center());
MOTION(c->geometry().bottomRight() + QPoint(100, 100));
MOTION(c->geometry().bottomRight() + QPoint(100, 100));
QVERIFY(!leftSpy.wait(100));
QVERIFY(!leftSpy.wait());
QCOMPARE(leftSpy.count(), 1);
QCOMPARE(enteredSpy.count(), 1);
@ -254,7 +254,7 @@ void LockScreenTest::testPointer()
// and unlock
UNLOCK
QVERIFY(enteredSpy.wait(100));
QVERIFY(enteredSpy.wait());
QCOMPARE(enteredSpy.count(), 2);
// move on the window
MOTION(c->geometry().center() + QPoint(100, 100));
@ -292,9 +292,9 @@ void LockScreenTest::testPointerButton()
// and simulate a click
PRESS;
QVERIFY(!buttonChangedSpy.wait(100));
QVERIFY(!buttonChangedSpy.wait());
RELEASE;
QVERIFY(!buttonChangedSpy.wait(100));
QVERIFY(!buttonChangedSpy.wait());
UNLOCK
QVERIFY(enteredSpy.wait());