v0.48.2: the finished upload window hides Stop instead of greying it to blank

This commit is contained in:
2026-10-10 23:29:58 -07:00
parent 4d7c17e41d
commit 9f390b6102
4 changed files with 16 additions and 3 deletions
+9
View File
@@ -474,3 +474,12 @@ def test_description_and_image_are_spaced_apart(tmp_path):
gap = page[page.index(plan.description) + len(plan.description):
page.index("placeholder.png")]
assert "<br><br>" in gap
def test_finished_window_hides_stop(qapp):
from lintunes.gui.web_upload_progress import WebUploadProgress
win = WebUploadProgress("Mix", f"{HOST}:/srv/mixes/mix")
win.show()
win.finish("done")
assert win._stop.isHidden() and win._hide.text() == "Close"
win.close()