mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Fix GUI tests on macOS
This commit is contained in:
parent
420c364bf7
commit
e701ccbd73
@ -970,6 +970,10 @@ void TestGui::testSearch()
|
|||||||
QApplication::processEvents();
|
QApplication::processEvents();
|
||||||
helpButton->trigger();
|
helpButton->trigger();
|
||||||
QTRY_VERIFY(!helpPanel->isVisible());
|
QTRY_VERIFY(!helpPanel->isVisible());
|
||||||
|
|
||||||
|
// Need to re-activate the window after the help test
|
||||||
|
m_mainWindow->activateWindow();
|
||||||
|
|
||||||
// Search for "ZZZ"
|
// Search for "ZZZ"
|
||||||
QTest::keyClicks(searchTextEdit, "ZZZ");
|
QTest::keyClicks(searchTextEdit, "ZZZ");
|
||||||
QTRY_COMPARE(searchTextEdit->text(), QString("ZZZ"));
|
QTRY_COMPARE(searchTextEdit->text(), QString("ZZZ"));
|
||||||
|
Loading…
Reference in New Issue
Block a user