An E2E test's retry runs on the Firefox instance whose page crashed on its first try
Maintainer thường phản hồi trong vòng 1 ngày
@msynk đang làm issue này rồi.
Từ ngày 5/12/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
BitTextFieldE2ETests.SelectAsyncAndSelectRangeAsync_DriveTheSelectionFromCode (src/BlazorUI/Tests/E2E/Bit.BlazorUI.Tests.E2E/Inputs/BitTextFieldE2ETests.cs) failed on both tries in "blazorui e2e / E2E firefox / server" of All Other E2E CI run 47455950741. Firefox crashed the page about 3 seconds into each try, at line 2011 on the first try and at line 2019 on the second:
Locator expected to have JavaScript property 'selectionStart'
Error: Page crashed '0'
- Expect "ToHaveJSPropertyAsync" Locator("#tf-select-api .bit-tfl-inp") with timeout 30000ms
- Page crashed
The same crash, at the same test, failed the first try in the firefox/server jobs of run 46152706341 (11-28) and run 46893325157 (12-02). Both times the second try passed.
The crash is Firefox's. "Page crashed" means the Firefox content process that held the page died. The test's steps at that point call only focus(), select() and setSelectionRange() (BitTextField.setSelectionRange, Utils.selectText). Those are standard DOM calls, which a page can't use to take its process down. The host's log has no error from that test, and Chromium and WebKit never crash there. The test didn't crash in 30 runs on fresh browsers, either alone or with the runner's CPU fully loaded: run 47467932146 and run 47471668493, Firefox in both modes. #15521 was the same kind of crash in Playwright's Firefox 159 build, there from axe and document.getAnimations().
Why the second try crashed too: the test base. E2ETestBase hands every test's browser on to the next test (_idleBrowsers, last in, first out), and it retires a browser only when its context fails to close. A crashed page doesn't count as broken, so the retry ran on the same Firefox instance and crashed at the same point. A retry that runs where the first try crashed can't tell a Firefox crash from a product bug.
Fix. A page crash marks the browser it ran on as broken. The cleanup then retires and closes that browser, and the next test, the retry included, launches a fresh one. The cleanup also writes the time of the crash into the test's output. The test's checks don't change, and a crash on the fresh browser still fails it.
Probe run 47473523553 checks this on Firefox. It crashes a page on purpose (about:crashcontent), and Firefox logs process … exited on signal 11. With the fix, the browser is closed and the next test runs on a new one.
- Ngôn ngữ chính
- C#
- Star
- 1.4k
- Fork
- 264
- Merge trung bình
- 5 giờ 25 phút
- Pull request đã merge (30 ngày)
- 447
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của bitfoundation/bitplatform
-
Project dependencies are outdatedCó thể đã có người làm @yasmoradi đã nhận hôm nay. Đang mởdependencies
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
bitfoundation/bitplatform#15616 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bug: Duplicate scrollbars in NotificationCenter after rapidly creating multiple notificationsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
bitfoundation/bitplatform#15606 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
The AutoReset E2E tests of BitFileInput and BitFileUpload open the second chooser before Firefox has closed the firstCó thể đã có người làm @msynk đã nhận hôm nay. Đang mở
bitfoundation/bitplatform#15625 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
The BitDatePicker look E2E test presses Escape before the year grid has the focusCó thể đã có người làm @msynk đã nhận hôm nay. Đang mở
bitfoundation/bitplatform#15623 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
BitPdfViewer hands the focus back for the wrong dialog when two viewers' dialogs close out of orderCó thể đã có người làm @msynk đã nhận hôm nay. Đang mở
bitfoundation/bitplatform#15622 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của bitfoundation/bitplatform
Issue tương tự
-
fix: [v5] FluentTextInput throws from ElementInternals during .NET 11 enhanced form navigationĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
microsoft/fluentui-blazor#5721 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] speech tts synthesize rejects valid locales such as fil-PH, yue-CN and sr-Latn-RS in --languageCó thể đã có người làm @Shizoqua đã nhận hôm nay. Đang mởAzure.Mcp.Server needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày
-
:watch: Not Triaged Pri3
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area-controls-shell platform/android
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
dotnet/maui#41304 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày