fix: complete admin UX review findings
This commit is contained in:
@@ -33,7 +33,9 @@ def test_directory_template_is_russian_and_uses_display_dates():
|
||||
assert '<label class="directory__field">Статус' in template
|
||||
assert 'id="columns-dialog"' in template
|
||||
assert 'aria-controls="columns-dialog"' in template
|
||||
assert 'aria-labelledby="columns-dialog-title"' in template
|
||||
assert "Сбросить фильтры" in template
|
||||
assert 'data-columns-preset="review"' in template
|
||||
assert '<dialog class="columns-modal"' in template
|
||||
assert 'id="columns-dialog"' in template
|
||||
assert 'aria-controls="columns-dialog"' in template
|
||||
@@ -116,6 +118,7 @@ def test_admin_js_uses_native_dialog_for_column_settings():
|
||||
assert "showModal()" in source
|
||||
assert "modal.close()" in source
|
||||
assert 'setAttribute("aria-expanded", "true")' in source
|
||||
assert "data-progress-retry" in source
|
||||
|
||||
|
||||
def test_base_template_has_skip_link_and_current_navigation_state():
|
||||
|
||||
@@ -17,7 +17,7 @@ def test_health_returns_versions():
|
||||
response = TestClient(app).get("/api/health")
|
||||
|
||||
assert response.status_code == 200
|
||||
assert response.json()["backend_version"] == "0.7.9"
|
||||
assert response.json()["backend_version"] == "0.8.0"
|
||||
|
||||
|
||||
def test_mcp_endpoint_is_removed():
|
||||
|
||||
Reference in New Issue
Block a user