Add snapshot test for Center/Middle.

This commit is contained in:
Rodrigo Girão Serrão
2023-03-13 11:18:33 +00:00
parent bdeea9fb86
commit 48ce1a149d
3 changed files with 196 additions and 0 deletions

View File

@@ -52,6 +52,10 @@ def test_layout_containers(snap_compare):
assert snap_compare(SNAPSHOT_APPS_DIR / "layout_containers.py")
def test_alignment_containers(snap_compare):
assert snap_compare(SNAPSHOT_APPS_DIR / "alignment_containers.py")
# --- Widgets - rendering and basic interactions ---
# Each widget should have a canonical example that is display in the docs.
# When adding a new widget, ideally we should also create a snapshot test