Repository navigation
Commit bb7f54c
test(web): make the favicon picker offscreen-preview test deterministic
expectPreview waited for the image's naturalWidth and then asserted the
fallback icon was gone, but decoding sets naturalWidth before the load
event reaches React's onLoad. Poll for both conditions together.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent ce2815d commit bb7f54c
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
169 | 170 | | |
170 | | - | |
171 | | - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
172 | 177 | | |
173 | 178 | | |
174 | 179 | | |
| |||
0 commit comments