fix: set BEC shell as the default active tab in console dock

This commit is contained in:
2026-07-07 15:05:44 +02:00
committed by wakonig_k
parent f446dde5a8
commit e530cbaa41
2 changed files with 7 additions and 0 deletions
@@ -181,6 +181,7 @@ class DeveloperWidget(DockAreaWidget):
return_dock=True,
title_buttons={"float": False, "close": False},
)
self.console_dock.setAsCurrentTab()
# Plotting area on the right with signature help tabbed alongside
self.plotting_ads_dock = self.new(
+6
View File
@@ -117,6 +117,12 @@ class TestDeveloperViewInitialization:
dock_widgets = developer_view.dock_manager.dockWidgets()
assert len(dock_widgets) >= 4 # Explorer, Monaco, Console, Terminal
def test_bec_shell_is_default_active_bottom_tab(self, developer_view):
"""Test that the BEC shell is the initially selected tab in the bottom dock area."""
bottom_area = developer_view.console_dock.dockAreaWidget()
assert bottom_area is not None
assert bottom_area.currentDockWidget() is developer_view.console_dock
class TestFileOperations:
"""Test file operation functionality."""