summaryrefslogtreecommitdiffstats
path: root/pkg/gui/layout.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2023-07-03 14:16:43 +1000
committerJesse Duffield <jessedduffield@gmail.com>2023-07-08 22:54:52 +1000
commit6c4e7ee9729ccfd65ac03073a37bd110a61be432 (patch)
tree95d647609ccfe231a0c01cb2ac6f701f5257050d /pkg/gui/layout.go
parent631cf1e873f4bf802d28bc48fc2621c6fdf96c39 (diff)
Add busy count for integration tests
Integration tests need to be notified when Lazygit is idle so they can progress to the next assertion / user action.
Diffstat (limited to 'pkg/gui/layout.go')
-rw-r--r--pkg/gui/layout.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/gui/layout.go b/pkg/gui/layout.go
index ed10fda92..919186aa5 100644
--- a/pkg/gui/layout.go
+++ b/pkg/gui/layout.go
@@ -114,6 +114,8 @@ func (gui *Gui) layout(g *gocui.Gui) error {
return err
}
+ gui.handleTestMode()
+
gui.ViewsSetup = true
}