Fix recovery layout and interactive assets
This commit is contained in:
+7
-1
@@ -40,7 +40,13 @@ def test_web_analysis_rejects_missing_folders(tmp_path):
|
||||
def test_web_static_assets_are_declared_and_packaged():
|
||||
asset_root = Path(__file__).parents[1] / "serato_doctor" / "webui"
|
||||
|
||||
assert set(STATIC_FILES) == {"/", "/app.css", "/recovery.css", "/app.js"}
|
||||
assert set(STATIC_FILES) == {
|
||||
"/",
|
||||
"/app.css",
|
||||
"/recovery.css",
|
||||
"/layout-fixes.css",
|
||||
"/app.js",
|
||||
}
|
||||
assert all((asset_root / filename).is_file() for filename, _ in STATIC_FILES.values())
|
||||
html = (asset_root / "index.html").read_text(encoding="utf-8")
|
||||
assert "Missing tracks in Serato" in html
|
||||
|
||||
Reference in New Issue
Block a user