v0.51.0: the web mix player has previous and next buttons

This commit is contained in:
2026-10-10 23:54:57 -07:00
parent 96fac71075
commit 976d338574
5 changed files with 70 additions and 19 deletions
+8
View File
@@ -565,3 +565,11 @@ def test_upload_window_shows_the_size(qapp, window):
_wait_for(qapp, lambda: _FakeUpload.runs)
from lintunes.gui import web_upload_progress as wp
assert "KB" in window._web_progress.status(wp.EXPORT)
def test_player_ships_previous_and_next_buttons():
js = (exporter.templates() / "player.js").read_text()
css = (exporter.templates() / "player.css").read_text()
assert 'class="skip prev"' in js and 'class="skip next"' in js
assert "button(player.prevButton, goPrev)" in js
assert ".audiojs .skip" in css