File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -191,10 +191,9 @@ def pytest_terminal_summary(
191191 console = Console (legacy_windows = False , force_terminal = True )
192192 if diffs :
193193 snapshot_report_location = config ._textual_snapshot_html_report
194- console .rule ("[b red]Textual Snapshot Report" , style = "red" )
194+ console .print ("[b red]Textual Snapshot Report" , style = "red" )
195195 console .print (
196196 f"\n [black on red]{ len (diffs )} mismatched snapshots[/]\n "
197197 f"\n [b]View the [link=file://{ snapshot_report_location } ]failure report[/].\n "
198198 )
199199 console .print (f"[dim]{ snapshot_report_location } \n " )
200- console .rule (style = "red" )
Original file line number Diff line number Diff line change @@ -37,10 +37,14 @@ def action_increment(self) -> None:
3737 app = BindApp ()
3838 async with app .run_test () as pilot :
3939 await pilot .press ("." )
40+ await pilot .pause ()
4041 assert counter == 1
4142 await pilot .press ("~" )
43+ await pilot .pause ()
4244 assert counter == 2
4345 await pilot .press (" " )
46+ await pilot .pause ()
4447 assert counter == 3
4548 await pilot .press ("x" )
49+ await pilot .pause ()
4650 assert counter == 3
You can’t perform that action at this time.
0 commit comments