Skip to content

Quarantine Microsoft.AspNetCore.Components.E2ETest.Tests.TempDataCookieTest.TempDataPersistWithoutAccessing #70085

Open

Description

@github-actions

Failing Test(s)

Microsoft.AspNetCore.Components.E2ETest.Tests.TempDataCookieTest.TempDataPersistWithoutAccessing

Failure Frequency

Observed in 5 distinct failing builds in the deterministic 30-day evidence snapshot.

Error Details

OpenQA.Selenium.StaleElementReferenceException : stale element reference: stale element not found
  (Session info: chrome=156.0.8078.47); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#staleelementreferenceexception

Stacktrace

Stack trace
   at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
   at OpenQA.Selenium.WebDriver.ExecuteAsync(String driverCommandToExecute, Dictionary`2 parameters)
   at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
   at OpenQA.Selenium.WebElement.Click()
   at Microsoft.AspNetCore.Components.E2ETest.Tests.TempDataCookieTest.TempDataPersistWithoutAccessing() in /[REDACTED].cs:line 133
   at System.Reflection.IntrinsicInvokeHelper.Instance_Void_0(IntPtr fn, Object obj, IntPtr* _, RuntimeType __)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Logs

Per-test log excerpt
OpenQA.Selenium.StaleElementReferenceException : stale element reference: stale element not found (Session info: chrome=156.0.8078.47)
   at OpenQA.Selenium.WebElement.Click()
   at Microsoft.AspNetCore.Components.E2ETest.Tests.TempDataCookieTest.TempDataPersistWithoutAccessing() line 133

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1653365&view=results
Build error leg or test failing: - microsoft.aspnetcore.components.e2etests.dll - Microsoft.AspNetCore.Components.E2ETest.Tests.TempDataCookieTest.TempDataPersistWithoutAccessing

Build Insights Verification

Evidence build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1653365&view=results
Test result identity: run 46010786, result 100642
Case A eligibility: verified from the collector-authored receipt
Duplicate search: filtered - Open-issue search for the exact test name returned 10 results hidden by integrity policy, so duplicates cannot be ruled out.
KBE activation incomplete: duplicate search result: filtered.

Created by the test-quarantine workflow.

Activity

  1. github-actions commented on Oct 29, 2026

    @github-actions
    ContributorAuthor

    Investigation: TempDataCookieTest.TempDataPersistWithoutAccessing fails intermittently with StaleElementReferenceException at WebElement.Click() (TempDataCookieTest.cs line 133, the redirect-button click after set-values-not-read).

    Failed 5 times over the past 30 days (builds across main and merged PRs; main build 1646419 and PR builds 1649045, 1651423, 1651814, 1653365). Most recent failing build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1653365

    Likely cause: the test clicks set-values-not-read and immediately looks up and clicks redirect-button without waiting for the page to settle. The page can re-render in between, which leaves the element reference stale. The sibling TempDataSessionStorageTest.TempDataPersistWithoutAccessing was quarantined for the same reason (#69996). Fix idea: wait for an observable state change after the first click, and retry the element lookup. Not a confirmed root cause.

    Generated by Daily Test Quarantine Management · copilot · auto · 54.2 AIC · ⌖ 15.1 AIC · ⊞ 14.9K · ◷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions