mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-11-28 09:08:41 +02:00
another integration test
This commit is contained in:
parent
2e05ac0c90
commit
3f5e52f774
1
test/integration/searchingInStagingPanel/recording.json
Normal file
1
test/integration/searchingInStagingPanel/recording.json
Normal file
@ -0,0 +1 @@
|
||||
[{"Timestamp":38,"Event":{"Type":1,"Mod":0,"Key":0,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":0,"Bytes":null}},{"Timestamp":1264,"Event":{"Type":0,"Mod":0,"Key":13,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"DQ=="}},{"Timestamp":2040,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":47,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"Lw=="}},{"Timestamp":2408,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":108,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"bA=="}},{"Timestamp":2448,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":105,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"aQ=="}},{"Timestamp":2504,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":110,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"bg=="}},{"Timestamp":2616,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":101,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"ZQ=="}},{"Timestamp":2712,"Event":{"Type":0,"Mod":0,"Key":32,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"IA=="}},{"Timestamp":2896,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":52,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"NA=="}},{"Timestamp":3136,"Event":{"Type":0,"Mod":0,"Key":13,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"DQ=="}},{"Timestamp":3728,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":100,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"ZA=="}},{"Timestamp":4255,"Event":{"Type":0,"Mod":0,"Key":13,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"DQ=="}},{"Timestamp":5192,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":47,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"Lw=="}},{"Timestamp":5504,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":108,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"bA=="}},{"Timestamp":5552,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":105,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"aQ=="}},{"Timestamp":5584,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":110,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"bg=="}},{"Timestamp":5711,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":101,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"ZQ=="}},{"Timestamp":5792,"Event":{"Type":0,"Mod":0,"Key":32,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"IA=="}},{"Timestamp":6088,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":50,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"Mg=="}},{"Timestamp":6320,"Event":{"Type":0,"Mod":0,"Key":13,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"DQ=="}},{"Timestamp":6711,"Event":{"Type":0,"Mod":0,"Key":32,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"IA=="}},{"Timestamp":7222,"Event":{"Type":0,"Mod":0,"Key":27,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"Gw=="}},{"Timestamp":8496,"Event":{"Type":0,"Mod":0,"Key":27,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"Gw=="}},{"Timestamp":8920,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":99,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"Yw=="}},{"Timestamp":9528,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":111,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"bw=="}},{"Timestamp":9584,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":110,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"bg=="}},{"Timestamp":9728,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":101,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"ZQ=="}},{"Timestamp":9992,"Event":{"Type":0,"Mod":0,"Key":13,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"DQ=="}},{"Timestamp":10720,"Event":{"Type":0,"Mod":0,"Key":32,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"IA=="}},{"Timestamp":11072,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":99,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"Yw=="}},{"Timestamp":11368,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":116,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"dA=="}},{"Timestamp":11424,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":101,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"ZQ=="}},{"Timestamp":11608,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":115,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"cw=="}},{"Timestamp":11648,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":116,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"dA=="}},{"Timestamp":12352,"Event":{"Type":0,"Mod":0,"Key":13,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"DQ=="}},{"Timestamp":13000,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":113,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"cQ=="}}]
|
36
test/integration/searchingInStagingPanel/snapshot.txt
Normal file
36
test/integration/searchingInStagingPanel/snapshot.txt
Normal file
@ -0,0 +1,36 @@
|
||||
On branch master
|
||||
nothing to commit, working tree clean
|
||||
line 1
|
||||
line 2
|
||||
line 3
|
||||
test
|
||||
|
||||
|
||||
diff --git a/myfile1 b/myfile1
|
||||
index 7bba8c8..a92d664 100644
|
||||
--- a/myfile1
|
||||
+++ b/myfile1
|
||||
@@ -1,2 +1,3 @@
|
||||
line 1
|
||||
line 2
|
||||
+line 3
|
||||
one
|
||||
|
||||
|
||||
diff --git a/myfile1 b/myfile1
|
||||
index 89b24ec..7bba8c8 100644
|
||||
--- a/myfile1
|
||||
+++ b/myfile1
|
||||
@@ -1 +1,2 @@
|
||||
line 1
|
||||
+line 2
|
||||
myfile1
|
||||
|
||||
|
||||
diff --git a/myfile1 b/myfile1
|
||||
new file mode 100644
|
||||
index 0000000..89b24ec
|
||||
--- /dev/null
|
||||
+++ b/myfile1
|
||||
@@ -0,0 +1 @@
|
||||
+line 1
|
Loading…
Reference in New Issue
Block a user