BitReducedMotionBrowserTests measure an image fade that has already ended
维护者通常 1 天内回复
评估
这个 Issue 还没有评估数据。
描述
Two tests of BitReducedMotionBrowserTests fail since #15526 (BitImage's DarkSrc), in All Other E2E CI's BlazorUI "browser tests" job (run 46539742269, job 142275003418):
ReducedMotion_AnAppRestoringTheTokensAtRoot_KeepsThePaceThePreferenceIsFollowedLive
Both say Expected 1700ms in #plain: image: 0ms. The other 914 tests of the job pass, and the same job passed on 2026-11-28 (run 46175342692), before #15526.
Cause. #15526 drops an image's fade once its bit-img-fade-in animation ends (HandleOnImageAnimationEnd), so that a fade never plays again. Both tests measure the image probe at the page's pace after a reduced-motion phase: one opens the page under reduced motion and only then adds the stylesheet that restores the tokens, the other switches the preference to reduce and back. Under reduced motion the fade collapses and ends at once, so by the time the pace is back there is no fade left on the image, and the probe measures 0ms. The library does what #15526 meant it to; the tests assumed the fade stays on the image.
Fix. The test page renders the image again, under a new key, when the test presses a "replay" button, and AssertPace replays the fade before it measures the image probe at a pace. So the image is still measured at the pace each test expects, on a fade that runs under the current preference and tokens. Under reduced motion nothing changes: a collapsed fade and a finished one both measure as collapsed.
- 主要语言
- C#
- 星标
- 1.4k
- 派生
- 264
- 平均合并
- 5 小时 45 分钟
- 30 天内合并 PR
- 494
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
bitfoundation/bitplatform 的其他 Issue
-
Project dependencies are outdated可能已有人在做 @yasmoradi 今天认领。 未关闭dependencies
难度 1/5 1-3 小时 新手友好度 68/100
bitfoundation/bitplatform#15562 ·
维护者通常 1 天内回复
-
EveryListedPageBecomesInteractiveWithoutAnError sometimes fails on WebKit when it leaves the PDF viewer可能已有人在做 @msynk 今天认领。 未关闭
bitfoundation/bitplatform#15565 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Generated HTTP client proxy drops fractional seconds in DateTimeOffset query parameters可能已有人在做 @yasmoradi 今天认领。 未关闭area / source generators
bitfoundation/bitplatform#15560 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
BitDataGrid未关闭
难度 2/5 1-3 小时 新手友好度 48/100
bitfoundation/bitplatform#15548 · 8 条评论 ·
维护者通常 1 天内回复
-
Add the Bit.BbScanner.BlazorUI package with BlazorUI scanner controls可能已有人在做 @msynk 于 1 天前认领。 未关闭area / bbscanner area / BlazorUI
bitfoundation/bitplatform#15547 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 bitfoundation/bitplatform 的全部 Issue
相似的 Issue
-
State: Needs Discussion
难度 2/5 1-3 小时 新手友好度 76/100
getsentry/sentry-dotnet#6071 · 1 条评论 ·
维护者通常 1 天内回复
-
:watch: Not Triaged dotnet-target-version
难度 1/5 1 小时以内 新手友好度 84/100
dotnet/docs-desktop#2313 ·
维护者通常 4 天内回复
-
dotnet-target-version
难度 2/5 1-3 小时 新手友好度 77/100
-
:watch: Not Triaged dotnet-target-version
难度 1/5 1 小时以内 新手友好度 80/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
IntelliTect/Coalesce#794 · 1 条评论 ·