Tests: Add delay for UI multi window tests on Windows

Similar to #146143, the `view3d_edit_mode_multi_window` currently fails
on the Windows build bot. This commit extends the platforms that
require an extra delay to avoid failures.

Pull Request: https://projects.blender.org/blender/blender/pulls/148078
This commit is contained in:
Sean Kim
2025-10-16 04:30:56 +02:00
committed by Sean Kim
parent 3099cd2124
commit e059c75ef5

View File

@@ -17,9 +17,9 @@ _MENU_CONFIRM_HACK = True
# the corresponding tests to run as expected. See: #136012.
_MENU_CONFIRM_HACK_MULTI_WINDOW_PAUSE_SECONDS = 1 / 60
# WARNING: macOS requires extra delay (it's unclear why), see: #146143.
# WARNING: macOS and windows require an extra delay (it's unclear why), see: #146143.
import sys
if sys.platform == "darwin":
if sys.platform in {"darwin", "win32"}:
_MENU_CONFIRM_HACK_MULTI_WINDOW_PAUSE_SECONDS = 1 / 6
del sys