Stabilize tst_QAccessibilityLinux::testFocus
The tests would rely on the window manager giving it focus a bit too much. Change-Id: I1b28def2c95a4f0a9665a7cf6e0c14db03df98d5 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
This commit is contained in:
parent
2b682972c2
commit
daf9ba91ae
@ -502,6 +502,8 @@ void tst_QAccessibilityLinux::testSlider()
|
||||
|
||||
void tst_QAccessibilityLinux::testFocus()
|
||||
{
|
||||
m_window->activateWindow();
|
||||
QVERIFY(QTest::qWaitForWindowActive(m_window));
|
||||
QLineEdit *lineEdit1 = new QLineEdit(m_window);
|
||||
lineEdit1->setText("lineEdit 1");
|
||||
QLineEdit *lineEdit2 = new QLineEdit(m_window);
|
||||
|
Loading…
Reference in New Issue
Block a user