Commit 66262c2a authored by David Faure's avatar David Faure
Browse files

[autotests] Let's see if this fixes the flakiness of the test

parent 33833461
...@@ -60,6 +60,7 @@ void RecipientsEditorTest::test_addLineOnCommaPress() ...@@ -60,6 +60,7 @@ void RecipientsEditorTest::test_addLineOnCommaPress()
{ {
MessageComposer::RecipientsEditor editor(new RecipientsLineTestFactory()); MessageComposer::RecipientsEditor editor(new RecipientsLineTestFactory());
editor.show(); editor.show();
QApplication::setActiveWindow(&editor);
QTest::qWaitForWindowActive(&editor); QTest::qWaitForWindowActive(&editor);
QCOMPARE(editor.recipients().size(), 0); QCOMPARE(editor.recipients().size(), 0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment