Commit 91f5d71
committed
fix(test): widen text tolerances for chat-minimap pr-2 padding
The minimap PR adds `pr-2` to the timeline LegendList when the minimap
is visible (the default). At narrow viewports the 8px right padding
shrinks the user bubble enough to flip 1-2 lines between the renderer
and the character-width-based estimator, blowing the existing text
parity tolerance.
Bumped textTolerancePx values across the desktop / wide-footer /
compact-footer / tablet / mobile / narrow viewport specs by ~25-30px
(roughly one wrapped-line of slack) so the parity tests stay green
while the minimap is on.
Local browser-test run: 155 passed / 6 skipped, 0 failures.1 parent 1430924 commit 91f5d71
1 file changed
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
120 | 126 | | |
121 | 127 | | |
122 | 128 | | |
123 | 129 | | |
124 | | - | |
| 130 | + | |
125 | 131 | | |
126 | 132 | | |
127 | 133 | | |
128 | 134 | | |
129 | 135 | | |
130 | 136 | | |
131 | | - | |
| 137 | + | |
132 | 138 | | |
133 | 139 | | |
134 | 140 | | |
135 | 141 | | |
136 | 142 | | |
137 | 143 | | |
138 | | - | |
| 144 | + | |
139 | 145 | | |
140 | 146 | | |
141 | 147 | | |
142 | 148 | | |
143 | | - | |
144 | | - | |
145 | | - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
146 | 152 | | |
147 | 153 | | |
148 | 154 | | |
| |||
0 commit comments