Fix GUI test failures

This commit is contained in:
Jonathan White 2020-01-27 21:02:50 -05:00
parent 91755fa83a
commit b0ad4a50d9
No known key found for this signature in database
GPG Key ID: 440FC65F2E0C6E01

View File

@ -882,6 +882,7 @@ void TestGui::testSearch()
QTest::keyClick(searchTextEdit, Qt::Key_C, Qt::ControlModifier);
QCOMPARE(searchedEntry->password(), clipboard->text());
// Ensure Down focuses on entry view when search text is selected
QTest::keyClick(searchTextEdit, Qt::Key_A, Qt::ControlModifier);
QTest::keyClick(searchTextEdit, Qt::Key_Down);
QTRY_VERIFY(entryView->hasFocus());
QCOMPARE(entryView->currentEntry(), searchedEntry);