summaryrefslogtreecommitdiffstats
path: root/pkg/integration/tests/demo/commit_and_push.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2023-08-01 22:19:04 +1000
committerJesse Duffield <jessedduffield@gmail.com>2023-08-01 22:19:04 +1000
commitf43fd7af79c712126c8d9f6e1933d26de9034c56 (patch)
tree96ff0a75b7b8d5575d1e9c681a87c32a6a81a75e /pkg/integration/tests/demo/commit_and_push.go
parenta200fccba95a0a85a028bb106836f8537526c71a (diff)
Wait in demo after setting caption
This looks nicer than waiting a second and then showing the caption as the action begins
Diffstat (limited to 'pkg/integration/tests/demo/commit_and_push.go')
-rw-r--r--pkg/integration/tests/demo/commit_and_push.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/integration/tests/demo/commit_and_push.go b/pkg/integration/tests/demo/commit_and_push.go
index e897413e9..a0e196cf0 100644
--- a/pkg/integration/tests/demo/commit_and_push.go
+++ b/pkg/integration/tests/demo/commit_and_push.go
@@ -28,6 +28,7 @@ var CommitAndPush = NewIntegrationTest(NewIntegrationTestArgs{
},
Run: func(t *TestDriver, keys config.KeybindingConfig) {
t.SetCaptionPrefix("Stage a file")
+ t.Wait(1000)
t.Views().Files().
IsFocused().