We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb5b0f1 commit d7a787fCopy full SHA for d7a787f
pkg/integration/tests/custom_commands/menu_prompt_with_keys.go
@@ -53,16 +53,13 @@ var MenuPromptWithKeys = NewIntegrationTest(NewIntegrationTestArgs{
53
IsFocused().
54
Press("a")
55
56
- // Verify the menu appears
57
t.ExpectPopup().Menu().
58
Title(Equals("Choose an option"))
59
60
- // Press 'H' to directly select the second option via its keybinding
61
// 'H' is normally a navigation key (ScrollLeft), so this tests that menu item
62
// keybindings have proper precedence over non-essential navigation keys
63
t.Views().Menu().Press("H")
64
65
- // After pressing 'H', the menu should close and the command should execute
66
t.FileSystem().FileContent("result.txt", Equals("SECOND\n"))
67
},
68
})
0 commit comments