diff --git a/tests/test_widget_child_moving.py b/tests/test_widget_child_moving.py index d8935c230b1..2a6195252d9 100644 --- a/tests/test_widget_child_moving.py +++ b/tests/test_widget_child_moving.py @@ -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.""" @@ -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