This commit is contained in:
Your Name
2026-11-30 10:11:44 +08:00
parent 630318b9ca
commit 621b7ddd39
36 changed files with 5956 additions and 3303 deletions
+2 -2
View File
@@ -558,7 +558,7 @@ def test_shell_hides_global_ai_entries_without_ai_permission(
assert window.menu_sidebar_action.isVisible()
assert window._active_page_key == key
assert window.sidebar.width() == 208
assert window.topbar.height() == 76
assert window.topbar.height() == 60
assert window.centralWidget().layout().contentsMargins().isNull()
window.close()
@@ -838,7 +838,7 @@ def test_approved_pages_share_shell_geometry_and_other_pages_restore(
)
if key in {"appointments", "consultations", "reception", "patients", "prescriptions", "prescription_library"}:
assert geometry == (208, 208, shell_window.width() - 208, shell_window.width() - 208)
assert shell_window.topbar.height() == 76
assert shell_window.topbar.height() == 60
assert shell_window.workspace.y() == 0
else:
assert geometry == (190, 203, shell_window.width() - 216, shell_window.width() - 216)