Add Markdown and MarkdownViewer to the disabled snapshot test

This commit is contained in:
Dave Pearson
2023-02-15 11:26:58 +00:00
parent 2379bb46e0
commit d90cae3a92
2 changed files with 95 additions and 86 deletions

File diff suppressed because one or more lines are too long

View File

@@ -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()