diff --git a/tests/utilities/test_app.py b/tests/utilities/test_app.py index 946fc8ddb..545a0210f 100644 --- a/tests/utilities/test_app.py +++ b/tests/utilities/test_app.py @@ -126,7 +126,7 @@ class AppTest(App): widget, region = self.get_widget_at(x, y) except errors.NoWidget: return "" - if widget not in self.screen._compositor.regions: + if widget not in self.screen._compositor.visible_widgets: return "" x -= region.x