mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-02 14:45:04 +00:00
Speed up autoSaveSession test
Normally, the session is only saved after a few seconds. The autotest waits for that to happen. This commit reduces the time until the session is saved to a fraction of a seconds which means that the autotest will complete faster.
This commit is contained in:
parent
a804c7bfc4
commit
65ba5a58c0
|
@ -586,6 +586,7 @@ void DolphinMainWindowTest::testAutoSaveSession()
|
|||
|
||||
// Enable session autosave.
|
||||
m_mainWindow->setSessionAutoSaveEnabled(true);
|
||||
m_mainWindow->m_sessionSaveTimer->setInterval(200); // Lower the interval to speed up the testing
|
||||
|
||||
// Open a new tab
|
||||
auto tabWidget = m_mainWindow->findChild<DolphinTabWidget *>("tabWidget");
|
||||
|
|
Loading…
Reference in a new issue