1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

Make it mandatory to acknowledge toasts in tests

This commit is contained in:
Stefan Haller
2024-01-13 16:17:41 +01:00
parent 9fa43394fe
commit 8ca8a43968
7 changed files with 44 additions and 0 deletions

View File

@ -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("")