diff options
author | Stefan Haller <stefan@haller-berlin.de> | 2024-01-12 08:12:39 +0100 |
---|---|---|
committer | Stefan Haller <stefan@haller-berlin.de> | 2024-01-14 17:42:03 +0100 |
commit | 9fa43394fed0aaa1114798decb814ebddc9eddc8 (patch) | |
tree | 7b7b5ebc6235b8e8baeb6a19b2c601fad5e6d242 /pkg/gui/types | |
parent | 37590a495c1fd965719bf14d79edf945ff078c3c (diff) |
Make it possible to handle toasts in integration tests
Use it in two selected tests to demonstrate what it looks like.
Diffstat (limited to 'pkg/gui/types')
-rw-r--r-- | pkg/gui/types/common.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/gui/types/common.go b/pkg/gui/types/common.go index 366b0fcf0..6e16df6b0 100644 --- a/pkg/gui/types/common.go +++ b/pkg/gui/types/common.go @@ -144,6 +144,7 @@ type IPopupHandler interface { WithWaitingStatusSync(message string, f func() error) error Menu(opts CreateMenuOptions) error Toast(message string) + SetToastFunc(func(string)) GetPromptInput() string } |