Stage isolated engine price catalog for inline zone choices

This commit is contained in:
anor
2026-12-04 02:31:11 +10:00
parent f93c0e50b2
commit beda783439
5 changed files with 131 additions and 3 deletions
+3 -1
View File
@@ -144,11 +144,13 @@ def test_plain_answer_zone_changes_inside_its_bubble(browser, site):
}
return oldFetch(url,opts);
};
const answer = addMsg('ai','Норма ГЭСНм 10-08-002-02, объём работ = 100 шт.\\nВыберите ценовую зону:\\n1. Хабаровский край (1 зона)\\n2. Хабаровский край (2 зона)');
const answer = addMsg('ai','Норма ГЭСНм 10-08-002-02, объём работ = 100 шт.\\nУровень цен: III квартал 2025.\\nВыберите ценовую зону:\\n1. Хабаровский край (1 зона)\\n2. Хабаровский край (2 зона)');
answer._messageId = 30;
bindFreeformBasis(answer);
}""")
page.locator(".inline-basis-trigger").first.click()
assert page.locator('select[aria-label="Квартал цен"]').input_value() == ""
assert "не загружен" in page.locator('.inline-basis-picker').inner_text()
screenshot_dir = os.environ.get("INLINE_FREEFORM_SCREENSHOTS")
if screenshot_dir:
page.screenshot(path=str(Path(screenshot_dir) / "inline-freeform-picker.png"))