i
This commit is contained in:
gr
2026-10-22 11:12:29 +08:00
480 changed files with 9840 additions and 953 deletions
+8 -8
View File
@@ -261,15 +261,15 @@ def test_approved_shell_geometry_and_function_entries_restore(
assert window.centralWidget().layout().contentsMargins().isNull()
assert window.search_host.mapTo(window, QPoint()) == QPoint(234, 15)
assert window.search_host.size() == QSize(384, 44)
assert window.assistant_card.mapTo(window, QPoint()) == QPoint(20, 695)
assert window.assistant_card.size() == QSize(168, 171)
assert window.assistant_button.height() == 46
assert window.brand_name.font().pixelSize() == 18
assert window.brand_subtitle.font().pixelSize() == 13
assert window.assistant_card.mapTo(window, QPoint()) == QPoint(20, 776)
assert window.assistant_card.size() == QSize(168, 132)
assert window.assistant_button.height() == 36
assert window.brand_name.font().pixelSize() == 16
assert window.brand_subtitle.font().pixelSize() == 12
for index, button in enumerate(window.nav_buttons.values()):
assert button.mapTo(window, QPoint()).y() == 99 + 58 * index
assert button.height() == 52
assert button.font().pixelSize() == 15
assert button.mapTo(window, QPoint()).y() == 99 + 48 * index
assert button.height() == 44
assert button.font().pixelSize() == 14
assert button.iconSize() == QSize(20, 20)
assert not window.fold_button.isVisible()
assert not window.ai_top_button.isVisible()