jesseduffield.lazygit/pkg/integration/tests
Stefan Haller 0b5504aa98 Cleanup: make integration test assertions for files panel more specific
Assert the entire lines using Equals instead of Contains. This makes the tests a
bit easier to read, and it makes it much easier to decide how they need to be
changed when we change the layout (like we do in the last commit of this
branch).

It is true that this requires changing all these tests for any future UI
changes, but I think this is a good price to pay; those adaptions are trivial
and can be done without thinking.
2025-03-20 11:58:50 +01:00
..
bisect Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
branch Cleanup: make integration test assertions for files panel more specific 2025-03-20 11:58:50 +01:00
cherry_pick Add number of commits to cherry-pick confirmation prompt 2025-01-08 21:08:42 -08:00
commit Cleanup: make integration test assertions for files panel more specific 2025-03-20 11:58:50 +01:00
config Add an integration test for a config with a negative refspec 2025-03-11 08:33:41 +01:00
conflicts Cleanup: make integration test assertions for files panel more specific 2025-03-20 11:58:50 +01:00
custom_commands Add commandMenu property to custom commands 2025-02-28 10:11:30 +01:00
demo Add number of commits to cherry-pick confirmation prompt 2025-01-08 21:08:42 -08:00
diff Add a "Content of selected file" entry to the copy menu for commit files 2025-03-20 11:52:53 +01:00
file Cleanup: make integration test assertions for files panel more specific 2025-03-20 11:58:50 +01:00
filter_and_search Cleanup: make integration test assertions for files panel more specific 2025-03-20 11:58:50 +01:00
filter_by_author Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
filter_by_path Fix postFilterTest to actually do what it says 2025-03-20 11:58:50 +01:00
interactive_rebase Fix moving a commit across a branch boundary in a stack 2024-12-23 12:18:48 +01:00
misc Cleanup: simplify and tighten test expectations related to clipboard 2025-02-19 18:50:12 +01:00
patch_building Cleanup: make integration test assertions for files panel more specific 2025-03-20 11:58:50 +01:00
reflog Add number of commits to cherry-pick confirmation prompt 2025-01-08 21:08:42 -08:00
shared Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
shell_commands Rename "Custom Command" to "Shell Command" 2024-08-17 10:56:03 +02:00
staging Cleanup: make integration test assertions for files panel more specific 2025-03-20 11:58:50 +01:00
stash Cleanup: make integration test assertions for files panel more specific 2025-03-20 11:58:50 +01:00
status Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
submodule Cleanup: make integration test assertions for files panel more specific 2025-03-20 11:58:50 +01:00
sync Fix typos 2025-01-03 10:50:36 +11:00
tag Cleanup: simplify and tighten test expectations related to clipboard 2025-02-19 18:50:12 +01:00
ui Disable global keybinds while popups are active 2025-02-23 08:44:48 +01:00
undo Cleanup: make integration test assertions for files panel more specific 2025-03-20 11:58:50 +01:00
worktree Fix typos 2025-01-03 10:50:36 +11:00
test_list.go Commit only tracked files in tracked only filter view 2025-03-17 19:51:27 +01:00
test_list_generator.go Fix typos 2025-01-03 10:50:36 +11:00
tests.go Set working directory in lazygit test command 2024-01-12 19:59:31 +11:00