mirror of
https://github.com/1j01/textual-paint.git
synced 2024-11-28 01:34:42 +03:00
Fix flaky test due to pressed style of Show Details button
This commit is contained in:
parent
c5353f4e7b
commit
ea5ca0c90f
File diff suppressed because one or more lines are too long
@ -117,6 +117,7 @@ def test_paint_error_dialog(snap_compare, each_theme):
|
||||
assert pilot.app.query_one("MessageBox .details_button")
|
||||
# pilot.app.query_one("MessageBox .details_button", Button).press()
|
||||
await pilot.click("MessageBox .details_button")
|
||||
await pilot.pause(0.5) # avoid pressed state
|
||||
|
||||
assert snap_compare(PAINT, run_before=show_error)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user