"""Tests for small UX regressions fixed after v0.50.96. Covers: - #633: slash command autocomplete dropdown should be constrained to the composer width rather than the full chat panel width. """ import pathlib REPO = pathlib.Path(__file__).parent.parent def read(rel): return (REPO / rel).read_text() def test_cmd_dropdown_moved_inside_composer_box(): src = read("static/index.html") composer_start = src.index('
') dropdown_idx = src.index('
') textarea_idx = src.index('