mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
add blur (#2645)
* add blur * docstring * blur on disabled * snapshot test * Add test
This commit is contained in:
@@ -514,3 +514,11 @@ def test_select_rebuild(snap_compare):
|
||||
SNAPSHOT_APPS_DIR / "select_rebuild.py",
|
||||
press=["space", "escape", "tab", "enter", "tab", "space"],
|
||||
)
|
||||
|
||||
|
||||
def test_blur_on_disabled(snap_compare):
|
||||
# https://github.com/Textualize/textual/issues/2641
|
||||
assert snap_compare(
|
||||
SNAPSHOT_APPS_DIR / "blur_on_disabled.py",
|
||||
press=[*"foo", "f3", *"this should not appear"],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user