feat: Enhance navigation toolbar with help actions and update related tests
This commit is contained in:
parent
a355c13c82
commit
c621e63a8d
2 changed files with 35 additions and 26 deletions
|
|
@ -324,15 +324,17 @@ class TestMainWindowSignals:
|
|||
|
||||
|
||||
class TestMainWindowMenuBar:
|
||||
"""Test menu bar and menu actions."""
|
||||
"""Test toolbar help actions integration."""
|
||||
|
||||
def test_menu_bar_created(self, qtbot, sample_config):
|
||||
"""Test menu bar is created."""
|
||||
def test_navigation_toolbar_created(self, qtbot, sample_config):
|
||||
"""Test navigation toolbar is created with help buttons."""
|
||||
window = MainWindow(sample_config)
|
||||
qtbot.addWidget(window)
|
||||
|
||||
menu_bar = window.menuBar()
|
||||
assert menu_bar is not None
|
||||
# Check that toolbar exists
|
||||
assert len(window.findChildren(QToolBar)) > 0
|
||||
toolbar = window.findChildren(QToolBar)[0]
|
||||
assert toolbar is not None
|
||||
|
||||
def test_window_has_check_for_updates_signal(self, qtbot, sample_config):
|
||||
"""Test window has check_for_updates signal."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue