mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add Markdown and MarkdownViewer to the disabled snapshot test
This commit is contained in:
@@ -9,6 +9,8 @@ from textual.widgets import (
|
||||
ListView,
|
||||
ListItem,
|
||||
Label,
|
||||
Markdown,
|
||||
MarkdownViewer,
|
||||
Tree,
|
||||
TextLog,
|
||||
)
|
||||
@@ -23,6 +25,10 @@ class WidgetDisableTestApp(App[None]):
|
||||
DataTable, ListView, Tree, TextLog {
|
||||
height: 2;
|
||||
}
|
||||
|
||||
Markdown, MarkdownViewer {
|
||||
height: 1fr;
|
||||
}
|
||||
"""
|
||||
|
||||
@property
|
||||
@@ -63,6 +69,8 @@ class WidgetDisableTestApp(App[None]):
|
||||
Input(),
|
||||
Input(placeholder="This is an empty input with a placeholder"),
|
||||
Input("This is some text in an input"),
|
||||
Markdown("# Hello, World!"),
|
||||
MarkdownViewer("# Hello, World!"),
|
||||
id="test-container",
|
||||
)
|
||||
yield Footer()
|
||||
|
||||
Reference in New Issue
Block a user