fox for nested heights

This commit is contained in:
Will McGugan
2022-12-19 12:54:06 +00:00
parent c20bf664e8
commit 32b7308ac8
3 changed files with 80 additions and 3 deletions

View File

@@ -101,7 +101,9 @@ def test_header_render(snap_compare):
def test_list_view(snap_compare):
assert snap_compare(WIDGET_EXAMPLES_DIR / "list_view.py", press=["tab", "down", "down", "up"])
assert snap_compare(
WIDGET_EXAMPLES_DIR / "list_view.py", press=["tab", "down", "down", "up"]
)
def test_textlog_max_lines(snap_compare):
@@ -160,6 +162,11 @@ def test_offsets(snap_compare):
assert snap_compare("snapshot_apps/offsets.py")
def test_nested_auto_heights(snap_compare):
"""Test refreshing widget within a auto sized container"""
assert snap_compare("snapshot_apps/nested_auto_heights.py", press=["1", "2"])
# --- Other ---