diff options
| author | Felix Ernst <[email protected]> | 2024-01-30 17:12:11 +0100 |
|---|---|---|
| committer | Felix Ernst <[email protected]> | 2024-02-01 10:43:53 +0000 |
| commit | 65ba5a58c0f0a91a56d111a83a54254fa46927ed (patch) | |
| tree | eb2e24ea7e84c060332cccaff97e084e54e64b61 /src/tests | |
| parent | a804c7bfc43106e05f674e8dd23cfed8b9997c9b (diff) | |
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.
Diffstat (limited to 'src/tests')
| -rw-r--r-- | src/tests/dolphinmainwindowtest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/dolphinmainwindowtest.cpp b/src/tests/dolphinmainwindowtest.cpp index 60d46518a..f10691013 100644 --- a/src/tests/dolphinmainwindowtest.cpp +++ b/src/tests/dolphinmainwindowtest.cpp @@ -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"); |
