// Activate back the left view and check whether the old title gets restored.
leftViewContainer->setActive(true);
- QEXPECT_FAIL("", "Bug #402641", Continue);
QCOMPARE(m_mainWindow->windowTitle(), oldTitle);
}
QVERIFY(newFileMenu);
QFETCH(bool, expectedEnabled);
- QCOMPARE(newFileMenu->isEnabled(), expectedEnabled);
+ QTRY_COMPARE(newFileMenu->isEnabled(), expectedEnabled);
}
QTEST_MAIN(DolphinMainWindowTest)