diff --git a/src/textual/pilot.py b/src/textual/pilot.py index a9ff1d2067..73cff9413a 100644 --- a/src/textual/pilot.py +++ b/src/textual/pilot.py @@ -287,7 +287,7 @@ async def double_click( True if no selector was specified or if the clicks landed on the selected widget, False otherwise. """ - await self.click(widget, offset, shift, meta, control, times=2) + return await self.click(widget, offset, shift, meta, control, times=2) async def triple_click( self, @@ -332,7 +332,7 @@ async def triple_click( True if no selector was specified or if the clicks landed on the selected widget, False otherwise. """ - await self.click(widget, offset, shift, meta, control, times=3) + return await self.click(widget, offset, shift, meta, control, times=3) async def hover( self,