Make it possible to handle toasts in integration tests
Use it in two selected tests to demonstrate what it looks like.
This commit is contained in:
@@ -43,4 +43,6 @@ type GuiDriver interface {
|
||||
View(viewName string) *gocui.View
|
||||
SetCaption(caption string)
|
||||
SetCaptionPrefix(prefix string)
|
||||
// Pop the next toast that was displayed; returns nil if there was none
|
||||
NextToast() *string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user