Убрана карточка приёмника, читаемые заголовки панелей
This commit is contained in:
@@ -906,11 +906,9 @@ def test_layout_adapts_to_small_console(cfg, monkeypatch):
|
||||
board = dash.query_one("#board").size.height
|
||||
bottom = dash.query_one("#bottom").size.height
|
||||
assert board + bottom <= 24 - 4 # шапка 2 + статус 1 + футер 1
|
||||
assert not dash.query_one("#target-card").display
|
||||
await pilot.resize_terminal(160, 50)
|
||||
await pilot.pause()
|
||||
assert not dash.has_class("narrow") and not dash.has_class("short")
|
||||
assert dash.query_one("#target-card").display
|
||||
asyncio.run(scenario())
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user