diff options
Diffstat (limited to 'app/tests/windows/main.cpp')
| -rw-r--r-- | app/tests/windows/main.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/tests/windows/main.cpp b/app/tests/windows/main.cpp index fca04fd..b6e1122 100644 --- a/app/tests/windows/main.cpp +++ b/app/tests/windows/main.cpp @@ -12,6 +12,7 @@ #include <glibmm/ustring.h> #include <gtkmm/builder.h> #include <gtkmm/button.h> +#include <gtkmm/menubutton.h> #include <gtkmm/widget.h> namespace turns::app::windows::tests @@ -65,6 +66,12 @@ namespace turns::app::windows::tests auto widget = builder->get_widget<Gtk::Button>("add_participant"); REQUIRE(widget->get_tooltip_text() == Glib::ustring{_(tooltips::add_a_participant)}); } + + SECTION("the open_main_menu button has the correct tooltip") + { + auto widget = builder->get_widget<Gtk::MenuButton>("open_main_menu"); + REQUIRE(widget->get_tooltip_text() == Glib::ustring{_(tooltips::main_menu)}); + } } } // namespace turns::app::windows::tests
\ No newline at end of file |
