mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +02:00
Add integration test
This commit is contained in:
committed by
Jesse Duffield
parent
0c135515a5
commit
d65c018875
@ -0,0 +1 @@
|
|||||||
|
file0
|
@ -0,0 +1 @@
|
|||||||
|
d1d98a10aa479467df903fea43d45df9dc538bc8
|
@ -0,0 +1,8 @@
|
|||||||
|
[core]
|
||||||
|
repositoryformatversion = 0
|
||||||
|
filemode = true
|
||||||
|
bare = false
|
||||||
|
logallrefupdates = true
|
||||||
|
[user]
|
||||||
|
email = CI@example.com
|
||||||
|
name = CI
|
@ -0,0 +1 @@
|
|||||||
|
Unnamed repository; edit this file 'description' to name the repository.
|
BIN
test/integration/switchTabFromMenu/expected/.git_keep/index
Normal file
BIN
test/integration/switchTabFromMenu/expected/.git_keep/index
Normal file
Binary file not shown.
@ -0,0 +1,6 @@
|
|||||||
|
# git ls-files --others --exclude-from=.git/info/exclude
|
||||||
|
# Lines that start with '#' are comments.
|
||||||
|
# For a project mostly in C, the following would be a good set of
|
||||||
|
# exclude patterns (uncomment them if you want to use them):
|
||||||
|
# *.[oa]
|
||||||
|
# *~
|
@ -0,0 +1,3 @@
|
|||||||
|
0000000000000000000000000000000000000000 d1d98a10aa479467df903fea43d45df9dc538bc8 CI <CI@example.com> 1622983913 +0200 commit (initial): file0
|
||||||
|
d1d98a10aa479467df903fea43d45df9dc538bc8 19bec20dd95b2a7cb0cc18b39c865edc1836748c CI <CI@example.com> 1622983913 +0200 commit: file0
|
||||||
|
19bec20dd95b2a7cb0cc18b39c865edc1836748c d1d98a10aa479467df903fea43d45df9dc538bc8 CI <CI@example.com> 1622983922 +0200 checkout: moving from master to 0.0.1
|
@ -0,0 +1,2 @@
|
|||||||
|
0000000000000000000000000000000000000000 d1d98a10aa479467df903fea43d45df9dc538bc8 CI <CI@example.com> 1622983913 +0200 commit (initial): file0
|
||||||
|
d1d98a10aa479467df903fea43d45df9dc538bc8 19bec20dd95b2a7cb0cc18b39c865edc1836748c CI <CI@example.com> 1622983913 +0200 commit: file0
|
Binary file not shown.
@ -0,0 +1,3 @@
|
|||||||
|
x��K
|
||||||
|
�0��)�/�X�R
|
||||||
|
Y��,�@҄�B�_��3��ɾmK��¥��V E��g�sL*RFL�B��YQ�����-��w̐ �\*�X�!H������O{��'{��~y;V�ɾ=�B �䣽���鶟j�gn겪3?K9b
|
Binary file not shown.
@ -0,0 +1,2 @@
|
|||||||
|
x��M
|
||||||
|
�0@��s��Jf2��\y3�P��<~=B����Z��|��*�|�oǑ�(3���>%A�CJ�,��iL3<����R�M����Rt �-Yk�zM���MY7���+V
|
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
19bec20dd95b2a7cb0cc18b39c865edc1836748c
|
@ -0,0 +1 @@
|
|||||||
|
d1d98a10aa479467df903fea43d45df9dc538bc8
|
@ -0,0 +1 @@
|
|||||||
|
19bec20dd95b2a7cb0cc18b39c865edc1836748c
|
0
test/integration/switchTabFromMenu/expected/file0
Normal file
0
test/integration/switchTabFromMenu/expected/file0
Normal file
1
test/integration/switchTabFromMenu/recording.json
Normal file
1
test/integration/switchTabFromMenu/recording.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{"KeyEvents":[{"Timestamp":1555,"Mod":0,"Key":9,"Ch":9},{"Timestamp":2908,"Mod":0,"Key":256,"Ch":63},{"Timestamp":4293,"Mod":0,"Key":258,"Ch":0},{"Timestamp":4593,"Mod":0,"Key":258,"Ch":0},{"Timestamp":4626,"Mod":0,"Key":258,"Ch":0},{"Timestamp":4642,"Mod":0,"Key":258,"Ch":0},{"Timestamp":4659,"Mod":0,"Key":258,"Ch":0},{"Timestamp":4676,"Mod":0,"Key":258,"Ch":0},{"Timestamp":4709,"Mod":0,"Key":258,"Ch":0},{"Timestamp":4726,"Mod":0,"Key":258,"Ch":0},{"Timestamp":4742,"Mod":0,"Key":258,"Ch":0},{"Timestamp":4759,"Mod":0,"Key":258,"Ch":0},{"Timestamp":4792,"Mod":0,"Key":258,"Ch":0},{"Timestamp":4809,"Mod":0,"Key":258,"Ch":0},{"Timestamp":4825,"Mod":0,"Key":258,"Ch":0},{"Timestamp":4842,"Mod":0,"Key":258,"Ch":0},{"Timestamp":5133,"Mod":0,"Key":258,"Ch":0},{"Timestamp":5382,"Mod":0,"Key":258,"Ch":0},{"Timestamp":6474,"Mod":0,"Key":13,"Ch":13},{"Timestamp":8905,"Mod":0,"Key":256,"Ch":32},{"Timestamp":11204,"Mod":0,"Key":256,"Ch":113}],"ResizeEvents":[{"Timestamp":0,"Width":158,"Height":38}]}
|
18
test/integration/switchTabFromMenu/setup.sh
Normal file
18
test/integration/switchTabFromMenu/setup.sh
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cd $1
|
||||||
|
|
||||||
|
git init
|
||||||
|
|
||||||
|
git config user.email "CI@example.com"
|
||||||
|
git config user.name "CI"
|
||||||
|
|
||||||
|
touch file0
|
||||||
|
git add file0
|
||||||
|
git commit -am file0
|
||||||
|
git tag 0.0.1
|
||||||
|
|
||||||
|
touch file1
|
||||||
|
git add file1
|
||||||
|
git commit -am file0
|
||||||
|
git tag 0.0.2
|
1
test/integration/switchTabFromMenu/test.json
Normal file
1
test/integration/switchTabFromMenu/test.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{ "description": "Change tabs from Options menu", "speed": 30 }
|
Reference in New Issue
Block a user