Skip to content

Commit

Permalink
Add new failing test for Textualize#1743
Browse files Browse the repository at this point in the history
  • Loading branch information
jepler committed Dec 15, 2023
1 parent 08e423e commit 8a1777e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_widget_child_moving.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ async def test_move_child_before_itself() -> None:
pilot.app.screen.move_child(child, before=child)


@pytest.mark.xfail(
strict=True, reason="https://github.com/Textualize/textual/issues/1743"
)
async def test_move_child_before_itself_numerically() -> None:
"""Test moving a widget before itself by numeric index."""

Expand All @@ -69,6 +72,9 @@ async def test_move_child_after_itself() -> None:
pilot.app.screen.move_child(child, after=child)


@pytest.mark.xfail(
strict=True, reason="https://github.com/Textualize/textual/issues/1743"
)
async def test_move_child_after_itself_numerically() -> None:
"""Test moving a widget after itself by numeric index."""
# Regression test for https://github.com/Textualize/textual/issues/1743
Expand Down

0 comments on commit 8a1777e

Please sign in to comment.