Add extra snapshit tests

This tests the three main ways of making an option list, and ensures they
all turn out the same.
This commit is contained in:
Dave Pearson
2023-05-07 20:26:12 +01:00
parent b3b98f1089
commit 84ddd09223
3 changed files with 205 additions and 0 deletions

View File

@@ -203,6 +203,8 @@ def test_option_list(snap_compare):
assert snap_compare(WIDGET_EXAMPLES_DIR / "option_list_options.py")
assert snap_compare(WIDGET_EXAMPLES_DIR / "option_list_tables.py")
def test_option_list_build(snap_compare):
assert snap_compare(SNAPSHOT_APPS_DIR / "option_list.py")
def test_progress_bar_indeterminate(snap_compare):
assert snap_compare(WIDGET_EXAMPLES_DIR / "progress_bar_isolated_.py", press=["f"])