mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
tests and changelog
This commit is contained in:
@@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
- Added `DOMNode.watch` and `DOMNode.is_attached` methods https://github.com/Textualize/textual/pull/1750
|
||||
- Added `DOMNode.css_tree` which is a renderable that shows the DOM and CSS https://github.com/Textualize/textual/pull/1778
|
||||
- Added `DOMNode.children_view` which is a view on to a nodes children list, use for querying https://github.com/Textualize/textual/pull/1778
|
||||
- Added `Markdown` and `MarkdownViewer` widgets.
|
||||
|
||||
### Changed
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -133,6 +133,14 @@ def test_tree_example(snap_compare):
|
||||
assert snap_compare(WIDGET_EXAMPLES_DIR / "tree.py")
|
||||
|
||||
|
||||
def test_markdown_example(snap_compare):
|
||||
assert snap_compare(WIDGET_EXAMPLES_DIR / "markdown.py")
|
||||
|
||||
|
||||
def test_markdown_viewer_example(snap_compare):
|
||||
assert snap_compare(WIDGET_EXAMPLES_DIR / "markdown_viewer.py")
|
||||
|
||||
|
||||
# --- CSS properties ---
|
||||
# We have a canonical example for each CSS property that is shown in their docs.
|
||||
# If any of these change, something has likely broken, so snapshot each of them.
|
||||
|
||||
Reference in New Issue
Block a user