feat: collapse full KPI block on dashboard with details/summary
This commit is contained in:
@@ -406,11 +406,11 @@ def test_project_page_status_badge_and_package_button(tmp_path):
|
||||
html = client.get(f"/projects/{pid}").text
|
||||
assert "text-bg-warning" in html # on_hold
|
||||
assert "Приостановлен" in html
|
||||
# Package button is normal size (no w-100 on that button)
|
||||
# Package button fits its column responsively
|
||||
import re
|
||||
match = re.search(r'<button type="submit" class="([^"]*)">Сформировать комплект</button>', html)
|
||||
assert match
|
||||
assert "w-100" not in match.group(1)
|
||||
assert "w-100" in match.group(1) or "w-auto" in match.group(1)
|
||||
finally:
|
||||
_clear(*ALL_DEPS)
|
||||
engine.dispose()
|
||||
|
||||
Reference in New Issue
Block a user