v0.51.0: the web mix player has previous and next buttons
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user