feat: collapse full KPI block on dashboard with details/summary
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user