From 51f8d0dc9adc4fc421abd183a4a4d41753846b91 Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Thu, 25 May 2023 13:20:22 +0100 Subject: [PATCH] Break up the `SelectionList` snapshit tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com> --- tests/snapshot_tests/test_snapshots.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/snapshot_tests/test_snapshots.py b/tests/snapshot_tests/test_snapshots.py index 6f9aabbcc..130ff19f3 100644 --- a/tests/snapshot_tests/test_snapshots.py +++ b/tests/snapshot_tests/test_snapshots.py @@ -232,9 +232,13 @@ def test_progress_bar_completed_styled(snap_compare): def test_select(snap_compare): assert snap_compare(WIDGET_EXAMPLES_DIR / "select_widget.py") -def test_selection_list(snap_compare): +def test_selection_list_selected(snap_compare): assert snap_compare(WIDGET_EXAMPLES_DIR / "selection_list_selected.py") + +def test_selection_list_selections(snap_compare): assert snap_compare(WIDGET_EXAMPLES_DIR / "selection_list_selections.py") + +def test_selection_list_tuples(snap_compare): assert snap_compare(WIDGET_EXAMPLES_DIR / "selection_list_tuples.py") def test_select_expanded(snap_compare):