mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-27 22:38:09 +02:00
Make it mandatory to acknowledge toasts in tests
This commit is contained in:
@@ -194,6 +194,8 @@ func (self *IntegrationTest) Run(gui integrationTypes.GuiDriver) {
|
||||
|
||||
self.run(testDriver, keys)
|
||||
|
||||
gui.CheckAllToastsAcknowledged()
|
||||
|
||||
if InputDelay() > 0 {
|
||||
// Clear whatever caption there was so it doesn't linger
|
||||
testDriver.SetCaption("")
|
||||
|
||||
Reference in New Issue
Block a user