┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Ernst <[email protected]>2024-01-30 17:12:11 +0100
committerFelix Ernst <[email protected]>2024-02-01 10:43:53 +0000
commit65ba5a58c0f0a91a56d111a83a54254fa46927ed (patch)
treeeb2e24ea7e84c060332cccaff97e084e54e64b61 /src
parenta804c7bfc43106e05f674e8dd23cfed8b9997c9b (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')
-rw-r--r--src/tests/dolphinmainwindowtest.cpp1
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");