feat: collapse full KPI block on dashboard with details/summary

This commit is contained in:
Арсентьев Александр
2026-09-30 18:59:06 +03:00
parent 8fbcbf6899
commit 39adbf32e2
7 changed files with 651 additions and 22 deletions
+2 -4
View File
@@ -329,12 +329,10 @@ def test_project_header_layout_and_package_button(tmp_path):
assert "D-1" in html
assert "Cust" in html
assert "Активный" in html
# Package button is not full-width / not stretched
# Package button fits its column responsively
match = re.search(r'<button type="submit" class="([^"]*)">Сформировать комплект</button>', html)
assert match, "package button not found"
assert "w-100" not in match.group(1)
assert "w-auto" in match.group(1)
assert "text-nowrap" in match.group(1)
assert "btn-primary" in match.group(1)
finally:
_clear(*ALL_DEPS)
engine.dispose()