Skip to content

Commit 70b5949

Browse files
Pass timeout to WaitForFocus as well
Co-authored-by: Copilot <[email protected]>
1 parent 099e53a commit 70b5949

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/Tests/InputSystem.Editor/InputActionsEditorTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public IEnumerator CanRenameAction()
205205
var timeoutSecs = 10.0;
206206
yield return WaitForSchedulerLoop();
207207
yield return WaitForNotDirty(timeoutSecs);
208-
yield return WaitForFocus(m_Window.rootVisualElement.Q<TreeView>("actions-tree-view"));
208+
yield return WaitForFocus(m_Window.rootVisualElement.Q<TreeView>("actions-tree-view"), timeoutSecs);
209209

210210
// Re-fetch the actions since the UI may have refreshed.
211211
actionItem = actionContainer.Query<InputActionsTreeViewItem>().ToList();

0 commit comments

Comments
 (0)