Fix GUI tests on macOS

This commit is contained in:
Jonathan White 2023-04-30 09:26:33 -04:00
parent 420c364bf7
commit e701ccbd73

View File

@ -970,6 +970,10 @@ void TestGui::testSearch()
QApplication::processEvents();
helpButton->trigger();
QTRY_VERIFY(!helpPanel->isVisible());
// Need to re-activate the window after the help test
m_mainWindow->activateWindow();
// Search for "ZZZ"
QTest::keyClicks(searchTextEdit, "ZZZ");
QTRY_COMPARE(searchTextEdit->text(), QString("ZZZ"));