-
Notifications
You must be signed in to change notification settings - Fork 788
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add scroll_to_center method. #2255
Conversation
@@ -406,3 +406,13 @@ def test_fr_margins(snap_compare): | |||
def test_scroll_visible(snap_compare): | |||
# https://github.com/Textualize/textual/issues/2181 | |||
assert snap_compare(SNAPSHOT_APPS_DIR / "scroll_visible.py", press=["t"]) | |||
|
|||
|
|||
def test_scroll_to_center(snap_compare): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this test is expected to fail, can you mark is as an xfail
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test is not expected to fail now. It will fail eventually, when the bug is fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got you.
This will close #2031.