jesseduffield.lazygit/pkg/integration/tests/custom_commands
Stefan Haller d181615c31 Make integration tests using commits more robust
Some tests assert that a specific commit subject does or doesn't occur
in the main view; interactive_rebase/outside_rebase_range_select.go is
an example for this, it asserts `t.Views().Main().Content(
DoesNotContain("commit 06"))`. The problem with this kind of assertion
and our test commit naming scheme is that the diff view begins with a
"commit <hash>" line, and when that hash happens to start with "06" the
assertion matched it and failed spuriously. This was usually masked by
our MaxAttempts=2 that we currently use for integration tests (it's
quite unlikely that the commit gets a hash beginning with "06" twice in
a row). However, we want to get to a state where we can set MaxAttempts
to 1, so make this more robust by changing our naming scheme.
2026-07-09 11:56:27 +02:00
..
access_commit_properties.go Convert custom command Key fields to Keybinding 2026-05-25 15:32:47 +02:00
basic_command.go Convert custom command Key fields to Keybinding 2026-05-25 15:32:47 +02:00
check_for_conflicts.go Convert custom command Key fields to Keybinding 2026-05-25 15:32:47 +02:00
conditional_prompt_false_string.go Convert custom command Key fields to Keybinding 2026-05-25 15:32:47 +02:00
conditional_prompt_false_value.go Convert custom command Key fields to Keybinding 2026-05-25 15:32:47 +02:00
conditional_prompts.go Convert custom command Key fields to Keybinding 2026-05-25 15:32:47 +02:00
custom_commands_submenu.go Convert custom command Key fields to Keybinding 2026-05-25 15:32:47 +02:00
custom_commands_submenu_with_special_keybindings.go Convert custom command Key fields to Keybinding 2026-05-25 15:32:47 +02:00
form_prompts.go Convert custom command Key fields to Keybinding 2026-05-25 15:32:47 +02:00
global_context.go Convert custom command Key fields to Keybinding 2026-05-25 15:32:47 +02:00
menu_from_command.go Convert custom command Key fields to Keybinding 2026-05-25 15:32:47 +02:00
menu_from_commands_output.go Convert custom command Key fields to Keybinding 2026-05-25 15:32:47 +02:00
menu_prompt_with_keys.go Convert custom command Key fields to Keybinding 2026-05-25 15:32:47 +02:00
multiple_contexts.go Convert custom command Key fields to Keybinding 2026-05-25 15:32:47 +02:00
multiple_prompts.go Convert custom command Key fields to Keybinding 2026-05-25 15:32:47 +02:00
run_command.go Convert custom command Key fields to Keybinding 2026-05-25 15:32:47 +02:00
selected_commit.go Make integration tests using commits more robust 2026-07-09 11:56:27 +02:00
selected_commit_range.go Make integration tests using commits more robust 2026-07-09 11:56:27 +02:00
selected_path.go Convert custom command Key fields to Keybinding 2026-05-25 15:32:47 +02:00
selected_submodule.go Convert custom command Key fields to Keybinding 2026-05-25 15:32:47 +02:00
show_output_in_panel.go Convert custom command Key fields to Keybinding 2026-05-25 15:32:47 +02:00
suggestions_command.go Convert custom command Key fields to Keybinding 2026-05-25 15:32:47 +02:00
suggestions_preset.go Convert custom command Key fields to Keybinding 2026-05-25 15:32:47 +02:00