1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00

586 Commits

Author SHA1 Message Date
ed93e0a2b0 remove dependency on model 2022-12-27 22:52:20 +11:00
c5050ecabd move shell into test driver 2022-12-27 21:47:37 +11:00
78b495f50a rename input to t 2022-12-27 21:35:36 +11:00
53e06b71ae add tap function 2022-12-27 21:26:18 +11:00
b166b8f776 combine assert and input structs, clean up interface 2022-12-27 21:26:18 +11:00
c5c9f5bb94 rename 2022-12-27 21:26:18 +11:00
09e80e5f2a better namespacing for assertions 2022-12-27 21:26:18 +11:00
be30cbb375 add view asserter getter struct 2022-12-27 21:26:18 +11:00
b64f55518b refactor commit message stuff in integration tests 2022-12-27 21:26:18 +11:00
926ed7b9b2 more refactoring of popup stuff 2022-12-27 21:26:18 +11:00
8052ac4fd6 add prompt asserter 2022-12-27 21:26:18 +11:00
c976839a63 refactor prompt handling in integration tests 2022-12-27 21:26:17 +11:00
8c89069965 update readme 2022-12-26 17:51:19 +11:00
09db4c4397 allow checking if line is selected in Lines and TopLines methods 2022-12-26 17:45:10 +11:00
96310288ee allow chaining matchers 2022-12-26 17:15:33 +11:00
c841ba8237 add switch-to-view methods 2022-12-26 16:49:54 +11:00
9a6f21ce42 cleaner test assertions 2022-12-26 12:20:13 +11:00
fa0414777f rename SelectedLine to CurrentLine in tests 2022-12-26 10:42:19 +11:00
5d2584a188 introduce ViewLines functions 2022-12-25 11:38:00 +11:00
b623ecf898 add helper functions for popups in tests 2022-12-24 19:15:59 +11:00
aedfce2845 refactor to not have Match at the start of assert method names, because it reads better that way 2022-12-24 19:14:52 +11:00
13639ac924 faster test 2022-12-24 19:05:46 +11:00
5c11b1ecb7 discard changes integration test 2022-12-24 19:05:46 +11:00
7c7f7bf9b9 migrate diffing integration tests 2022-12-21 22:52:23 +11:00
f910b42c9c migrate confirm-on-quit integration test 2022-12-20 23:08:39 +11:00
dde70486a1 apply user config changes in sandbox mode 2022-12-20 23:07:43 +11:00
186b7197e4 clean up some integration test stuff 2022-12-20 22:54:00 +11:00
e3c6738535 remove snapshot approach for new integration tests 2022-12-20 22:45:03 +11:00
bc4ace8357 add commit revert integration test 2022-12-20 22:45:02 +11:00
b40190bd94 add multi-line commit integration test 2022-12-20 22:45:02 +11:00
b13cfdfea0 migrate branch reset integration test 2022-12-19 22:38:32 +11:00
3a1921cab0 updated rebase confirmation message 2022-12-16 17:36:37 -06:00
50b0d85cd3 integration tests for commit without pre-commit hooks in staging files menu 2022-12-01 09:12:18 +11:00
bfcbf228bf commit integrations test with window name's assertion 2022-12-01 09:12:18 +11:00
87e0f6b92d integration tests for commit in staged files and unstaged files menus 2022-12-01 09:12:18 +11:00
b3d086bdc1 Resolve the prompt just before using it
In case a later command depends on a prompt input from a previous one we
need to evaluate it only after the previous prompt has been confirmed.
2022-11-25 22:46:36 +01:00
245563bc99 (#2288) quote remoteName before compiling regex
If the remote name contains special regex-chars,
the compilation of the regex might fail.
Quoting the remoteName ensures that all special chars
in the remoteName are properly escaped before compiling
the regex.
2022-11-24 12:56:28 +00:00
52a2e4c1dc fix: fix ambiguous branch name
test: add an integration test for checkout branch by name

fix: fix full ref name of detached head

refactor: refactor current branch loader

chore: use field name explicitly
2022-11-14 19:05:07 +11:00
b33ec5a050 Merge pull request #1980 from ajhynes7/stash-untracked-changes 2022-11-14 18:46:53 +11:00
fbac05fff7 Update README.md 2022-11-13 11:54:37 +11:00
9e91aa8b43 fix: delete duplicate import 2022-11-12 18:11:34 -03:30
7977c2deb5 fix: delete duplicate line 2022-11-12 18:10:34 -03:30
d7fb441a3c refactor: sort list of integration tests 2022-11-12 18:09:55 -03:30
f98b2edae5 fix broken CI (see https://vielmetti.typepad.com/logbook/2022/10/git-security-fixes-lead-to-fatal-transport-file-not-allowed-error-in-ci-systems-cve-2022-39253.html)
try this

WIP
2022-11-12 18:09:15 -03:30
97ced9e14f fix could-not-access error 2022-11-12 18:09:15 -03:30
66a253916e test: add more assertions 2022-11-12 18:09:15 -03:30
52316e628e fix broken CI (see https://vielmetti.typepad.com/logbook/2022/10/git-security-fixes-lead-to-fatal-transport-file-not-allowed-error-in-ci-systems-cve-2022-39253.html)
try this

WIP
2022-11-12 10:53:12 +11:00
e8b97c9fe2 fix could-not-access error 2022-11-11 12:30:14 +11:00
a47e72892a Merge branch 'master' into stash-untracked-changes 2022-11-01 16:08:34 -02:30
2ec0b671e6 test: update stash/rename integration test 2022-10-16 16:26:17 +09:00