feat: add council user role and restrict crawl runs

This commit is contained in:
codex committed 2026-11-12 09:35:26 +00:00
1 parent 59dcacbaff
commit 508aae4f8a
28 files changed
+217 -65

No files matched your search

+7
View File
@@ -81,6 +81,13 @@ def main():
filters.locator("summary").focus()
page.keyboard.press("Enter")
expect(page.get_by_label("ФИО или ссылка")).to_be_visible()
assert page.locator('.directory__filters :is(input, select)').evaluate_all("""controls =>
controls.every(control => {
control.focus();
const style = getComputedStyle(control);
return style.outlineWidth === '2px' && style.outlineOffset === '0px';
})
""")
for width in (1920, 1440, 1180, 1024, 921, 920, 768, 621, 620, 390, 320):
page.set_viewport_size({"width": width, "height": 844})
assert page.locator("main").evaluate("""main => {