Skip to content

Commit 258e5eb

Browse files
committed
Update InputActionsEditorTests.cs
1 parent 7b0ee7c commit 258e5eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/Tests/InputSystem.Editor/InputActionsEditorTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,9 @@ public IEnumerator CanRenameAction()
221221
// Rename the action
222222
SimulateTypingText("New Name");
223223

224-
// Wait for rename to end
224+
// Wait for rename to end and focus to return from text field
225225
yield return WaitForSchedulerLoop();
226-
yield return WaitForActionRename(1, isActive: false);
226+
yield return WaitForFocus(m_Window.rootVisualElement.Q<TreeView>("actions-tree-view"));
227227

228228
// Check on the UI side
229229
actionContainer = m_Window.rootVisualElement.Q("actions-container");

0 commit comments

Comments
 (0)