Andy Feller
8130126ce5
Merge pull request #10901 from cli/kw/fix-accessible-multi-select-prompter-respects-defaults
...
Fix: Accessible multiselect prompt respects default selections
2025-04-30 09:46:56 -04:00
Kynan Ware
d8512a9066
fix(prompter): respect default MultiSelect a11y prompter
2025-04-29 16:35:04 -06:00
Andy Feller
88d52ebf97
Fix other disabled echo mode comments
2025-04-28 11:20:17 -04:00
Andy Feller
2d66877d6c
Update internal/prompter/accessible_prompter_test.go
2025-04-28 11:15:28 -04:00
Andy Feller
9fa00c350b
Update accessible tests based on huh@0.7.0 changes
2025-04-28 10:17:23 -04:00
Andy Feller
a53b6c074c
Assert password and auth token not displayed
...
This commit expands existing tests (thanks to @babakks) to assert whether the echo mode is actually disabled for password and auth token prompts.
2025-04-28 08:55:47 -04:00
Kynan Ware
9463b0ee61
test(prompter): correct typo in accessible prompter name
2025-04-22 17:12:07 -06:00
Kynan Ware
138bccd437
feat(config): add accessible prompter and spinner
2025-04-22 16:50:58 -06:00
Kynan Ware
8cd39923fe
test(prompter): fix race condition
...
This test was trying to block on `expect`’ing a string at the same
time the prompt was completed.
This doesn't need to happen for this test. It should just check for
the output from the Input prompt invocation.
2025-04-10 17:09:22 -06:00
Kynan Ware
9eee77a2bf
test(prompter): doc how accessible prompter tests work
2025-04-10 10:55:24 -06:00
Kynan Ware
8b70870f4f
test(prompter): describe why echo is editorcmd
2025-04-10 10:39:59 -06:00
Kynan Ware
47d603221d
test(prompter): use *testing.T instead
2025-04-10 10:37:36 -06:00
Kynan Ware
fab0de5583
fix(prompter): pass io to huh and refactor tests
2025-04-09 15:51:02 -06:00
Kynan Ware
2f5e896535
fix(prompter): update huh and fix tests
2025-04-09 15:18:53 -06:00
Kynan Ware
8fc8486af5
refactor(prompter): rename speechSynthesizerFriendlyPrompter to accessiblePrompter
2025-04-09 08:24:54 -06:00