[autotests] Wait longer in LockScreenTest
It timed out on build.kde.org, so let's try to wait longer.
This commit is contained in:
parent
f9f7b84cb4
commit
ce7a9476f9
1 changed files with 5 additions and 5 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue