Files
orca/tests/e2e
bokjkandBrennan Benson 1b02cedfff fix(tabs): keep widths stable during title updates (#11476)
* fix(tabs): keep widths stable during title updates

* review(tabs): reduce the width rule to the definite width and harden its tests

Why: once the tab container has a definite width the shrink-wrapped strip never
has free space, so flex-grow and max-w-[280px] were unreachable and only
duplicated the 180/220 numbers across two properties. Measured widths, strip
scrollWidth and clientWidth are identical to the flex-based version across four
window widths, five tab counts and short/long titles.

Tests: pin the width classes literally so the guarantee cannot be edited away
via the constant, and guard the e2e check against passing vacuously on a
saturated strip.

---------

Co-authored-by: Brennan Benson <79079362+brennanb2025@users.noreply.github.com>
2026-08-10 16:11:19 -07:00
..
2026-06-10 17:23:12 -07:00