diff options
| author | Sebastian Englbrecht <[email protected]> | 2026-05-25 13:30:09 +0200 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2026-05-28 11:16:06 +0000 |
| commit | 980d4f71a978e7e437bbe9d0100c095d84a0b4fa (patch) | |
| tree | 1f13c38c7785306b9195aab3b8096e277e46950b /src/dolphindockwidget.cpp | |
| parent | 2a397b64523611974946f68b103efd7a370a0c45 (diff) | |
dolphinmainwindowtest: ensure consistent starting state for places panel tests
In a fresh test environment there is no saved session, so the places panel may
not be visible. Explicitly show it before testing.
Additionally, focus-related assertions require the window to be the active
window — setFocus() on dock widget contents has no effect on an inactive window.
Replace the weak QTRY_VERIFY_WITH_TIMEOUT(activeWindow() != nullptr, 100) with
requestActivate() + qWaitForWindowActive() to enforce this precondition.
Diffstat (limited to 'src/dolphindockwidget.cpp')
0 files changed, 0 insertions, 0 deletions
