Add snapshot tests for the SelectionList examples

This commit is contained in:
Dave Pearson
2023-05-25 11:06:21 +01:00
parent 9a0e82f4c3
commit 939586f5f8
2 changed files with 495 additions and 0 deletions

File diff suppressed because one or more lines are too long

View File

@@ -232,6 +232,10 @@ def test_progress_bar_completed_styled(snap_compare):
def test_select(snap_compare): def test_select(snap_compare):
assert snap_compare(WIDGET_EXAMPLES_DIR / "select_widget.py") assert snap_compare(WIDGET_EXAMPLES_DIR / "select_widget.py")
def test_selection_list(snap_compare):
assert snap_compare(WIDGET_EXAMPLES_DIR / "selection_list_selected.py")
assert snap_compare(WIDGET_EXAMPLES_DIR / "selection_list_selections.py")
assert snap_compare(WIDGET_EXAMPLES_DIR / "selection_list_tuples.py")
def test_select_expanded(snap_compare): def test_select_expanded(snap_compare):
assert snap_compare( assert snap_compare(