diff --git a/l4d2web/tests/test_pages.py b/l4d2web/tests/test_pages.py index eebc6c4..1ddb2e0 100644 --- a/l4d2web/tests/test_pages.py +++ b/l4d2web/tests/test_pages.py @@ -771,3 +771,6 @@ def test_workshop_overlay_refresh_button_hidden_during_build(auth_client_with_se assert response.status_code == 200 assert "Refresh from Steam" not in text + # Positive companion: confirm the build-running guard actually fired, + # otherwise the negative could pass vacuously on a broken page. + assert "building…" in text