BitReducedMotionBrowserTests measure an image fade that has already ended
I maintainer di solito rispondono entro 1 giorno
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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.
- Lingua principale
- C#
- Stelle
- 1.4k
- Fork
- 264
- Merge medio
- 5h 45m
- PR unite (30g)
- 494
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di bitfoundation/bitplatform
-
Project dependencies are outdatedForse già presa @yasmoradi l’ha presa oggi. Apertadependencies
Difficoltà 1/5 1-3 ore Idoneità per principianti 68/100
bitfoundation/bitplatform#15562 ·
I maintainer di solito rispondono entro 1 giorno
-
EveryListedPageBecomesInteractiveWithoutAnError sometimes fails on WebKit when it leaves the PDF viewerForse già presa @msynk l’ha presa oggi. Aperta
bitfoundation/bitplatform#15565 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Generated HTTP client proxy drops fractional seconds in DateTimeOffset query parametersForse già presa @yasmoradi l’ha presa oggi. Apertaarea / source generators
bitfoundation/bitplatform#15560 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
BitDataGridAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 48/100
bitfoundation/bitplatform#15548 · 8 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Add the Bit.BbScanner.BlazorUI package with BlazorUI scanner controlsForse già presa @msynk l’ha presa 1 giorno fa. Apertaarea / bbscanner area / BlazorUI
bitfoundation/bitplatform#15547 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di bitfoundation/bitplatform
Issue simili
-
:watch: Not Triaged dotnet-target-version
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
dotnet/docs-desktop#2313 ·
I maintainer di solito rispondono entro 4 giorni
-
dotnet-target-version
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
-
:watch: Not Triaged dotnet-target-version
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
IntelliTect/Coalesce#794 · 1 commento ·
-
bug priority:low severity:S3
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
squid-farm/talewright#909 ·
I maintainer di solito rispondono entro 1 giorno