Stage isolated engine price catalog for inline zone choices
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user