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分
- マージ済み PR(30日)
- 494
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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
-
: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 件 ·
-
bug priority:low severity:S3
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
squid-farm/talewright#909 ·
メンテナーはふだん 1 日以内に返信