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:
File diff suppressed because one or more lines are too long
@@ -9,6 +9,8 @@ from textual.widgets import (
|
|||||||
ListView,
|
ListView,
|
||||||
ListItem,
|
ListItem,
|
||||||
Label,
|
Label,
|
||||||
|
Markdown,
|
||||||
|
MarkdownViewer,
|
||||||
Tree,
|
Tree,
|
||||||
TextLog,
|
TextLog,
|
||||||
)
|
)
|
||||||
@@ -23,6 +25,10 @@ class WidgetDisableTestApp(App[None]):
|
|||||||
DataTable, ListView, Tree, TextLog {
|
DataTable, ListView, Tree, TextLog {
|
||||||
height: 2;
|
height: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Markdown, MarkdownViewer {
|
||||||
|
height: 1fr;
|
||||||
|
}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@@ -63,6 +69,8 @@ class WidgetDisableTestApp(App[None]):
|
|||||||
Input(),
|
Input(),
|
||||||
Input(placeholder="This is an empty input with a placeholder"),
|
Input(placeholder="This is an empty input with a placeholder"),
|
||||||
Input("This is some text in an input"),
|
Input("This is some text in an input"),
|
||||||
|
Markdown("# Hello, World!"),
|
||||||
|
MarkdownViewer("# Hello, World!"),
|
||||||
id="test-container",
|
id="test-container",
|
||||||
)
|
)
|
||||||
yield Footer()
|
yield Footer()
|
||||||
|
|||||||
Reference in New Issue
Block a user