Skip to content

[release/9.0] Add 1ES Unofficial pipeline for Components E2E tests#66988

Merged
wtgodbe merged 1 commit into
dotnet:release/9.0from
wtgodbe:wtgodbe/backport-components-e2e-internal-9.0
Jun 3, 2026
Merged

[release/9.0] Add 1ES Unofficial pipeline for Components E2E tests#66988
wtgodbe merged 1 commit into
dotnet:release/9.0from
wtgodbe:wtgodbe/backport-components-e2e-internal-9.0

Add 1ES Unofficial pipeline for Components E2E tests

084bc87
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Jun 3, 2026 in 0s

.NET Result Analysis

Details

Tip

To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.

Build Failures

aspnetcore-components-e2e / Test: Blazor E2E tests on Linux / Run E2E tests

[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    ❌Bash exited with code '1'.

Test Failures (2 tests failed)

🔹 [All failing tests from aspnetcore-components-e2e]

    Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.ServerRoutingTest.NavigationManagerNavigateToSameUrlWithParamAndHash_ScrollsToElementOnTheSamePage [Details] [0.90% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configuration

    Exception Message
    Assert.Equal() Failure
    Expected: 1842
    Actual:   0
    CallStack
       at Microsoft.AspNetCore.Components.E2ETest.Tests.RoutingTest.NavigationManagerNavigateToSameUrlWithParamAndHash_ScrollsToElementOnTheSamePage() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/RoutingTest.cs:line 1758
       at InvokeStub_RoutingTest.NavigationManagerNavigateToSameUrlWithParamAndHash_ScrollsToElementOnTheSamePage(Object, Object, IntPtr*)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.FormHandlingTests.AntiforgeryTests.CanUseAntiforgeryAfterInitialRender(target: "server") [Details] [0.00% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configuration

    Exception Message
    OpenQA.Selenium.BrowserAssertFailedException : OpenQA.Selenium.StaleElementReferenceException: stale element reference: stale element not found in the current frame
      (Session info: chrome=148.0.7778.178); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#stale-element-reference-exception
       at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
       at OpenQA.Selenium.WebDriver.ExecuteAsync(String driverCommandToExecute, Dictionary`2 parameters)
       at OpenQA.Selenium.WebDriver.InternalExecute(String driverCommandToExecute, Dictionary`2 parameters)
       at OpenQA.Selenium.WebElement.Execute(String commandToExecute, Dictionary`2 parameters)
       at OpenQA.Selenium.WebElement.get_Text()
       at Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.FormHandlingTests.AntiforgeryTests.<>c__DisplayClass2_0.<CanUseAntiforgeryAfterInitialRender>b__0() in /home/vsts/work/1/s/src/Components/test/E2ETest/ServerRenderingTests/FormHandlingTests/AntiforgeryTests.cs:line 49
       at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_0`1.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 101
    Screen shot captured at '/home/vsts/work/1/s/src/Components/test/E2ETest/bin/screenshots/fab1ccc101da47bb83503501ae0a5125.png'
    Encountered browser errors
    [2026-06-02T23:41:29Z] [Warning] http://127.0.0.1:33733/subdir/_framework/blazor.web.js 0:39511 "[2026-06-02T23:41:29.448Z] Warning: Initializer 'http://127.0.0.1:33733/subdir/BasicTestApp.vpc4xa0l6h.lib.module.js' will be ignored because multiple runtimes are available. Use 'before(Web|WebAssembly|Server)Start' and 'after(Web|WebAssembly|Server)Started' instead."
    [2026-06-02T23:41:29Z] [Warning] http://127.0.0.1:33733/subdir/_framework/blazor.web.js 0:39511 "[2026-06-02T23:41:29.448Z] Warning: Initializer 'http://127.0.0.1:33733/subdir/JSInitializers/Classic/BasicTestApp.j2kfp6tx1s.lib.module.js' will be ignored because multiple runtimes are available. Use 'before(Web|WebAssembly|Server)Start' and 'after(Web|WebAssembly|Server)Started' instead."
    [2026-06-02T23:41:29Z] [Info] http://127.0.0.1:33733/subdir/_framework/blazor.web.js 0:47101 "[2026-06-02T23:41:29.455Z] Information: Normalizing '_blazor' to 'http://127.0.0.1:33733/subdir/_blazor'."
    [2026-06-02T23:41:29Z] [Info] http://127.0.0.1:33733/subdir/_framework/blazor.web.js 0:47101 "[2026-06-02T23:41:29.462Z] Information: WebSocket connected to ws://127.0.0.1:33733/subdir/_blazor?id=eG38-sai8Rb20fPztKmj1Q."
    [2026-06-02T23:41:29Z] [Warning] http://127.0.0.1:33733/subdir/_framework/blazor.web.js 0:39511 "[2026-06-02T23:41:29.696Z] Warning: Initializer 'http://127.0.0.1:33733/subdir/BasicTestApp.vpc4xa0l6h.lib.module.js' will be ignored because multiple runtimes are available. Use 'before(Web|WebAssembly|Server)Start' and 'after(Web|WebAssembly|Server)Started' instead."
    [2026-06-02T23:41:29Z] [Warning] http://127.0.0.1:33733/subdir/_framework/blazor.web.js 0:39511 "[2026-06-02T23:41:29.696Z] Warning: Initializer 'http://127.0.0.1:33733/subdir/JSInitializers/Classic/BasicTestApp.j2kfp6tx1s.lib.module.js' will be ignored because multiple runtimes are available. Use 'before(Web|WebAssembly|Server)Start' and 'after(Web|WebAssembly|Server)Started' instead."
    [2026-06-02T23:41:29Z] [Info] http://127.0.0.1:33733/subdir/_framework/blazor.web.js 0:47101 "[2026-06-02T23:41:29.700Z] Information: Normalizing '_blazor' to 'http://127.0.0.1:33733/subdir/_blazor'."
    [2026-06-02T23:41:29Z] [Info] http://127.0.0.1:33733/subdir/_framework/blazor.web.js 0:47101 "[2026-06-02T23:41:29.708Z] Information: WebSocket connected to ws://127.0.0.1:33733/subdir/_blazor?id=ilEyTm5vCkN61-A5hPa6EQ."Page content:
    <head><meta charset="utf-8">
        <base href="/subdir/">
        <title>Razor Components Forms</title></head>
    <body>
    <h1 id="ready">Form test cases</h1>
    <!--!--><p id="result">Test</p>
                <blazor-focus-on-na
    CallStack
       at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore[TResult](IWebDriver driver, Func`1 assertion, TimeSpan timeout) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 129
       at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore(IWebDriver driver, Action assertion, TimeSpan timeout) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 83
       at Microsoft.AspNetCore.E2ETesting.WaitAssert.Equal[T](IWebDriver driver, T expected, Func`1 actual) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 27
       at Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.FormHandlingTests.AntiforgeryTests.CanUseAntiforgeryAfterInitialRender(String target) in /home/vsts/work/1/s/src/Components/test/E2ETest/ServerRenderingTests/FormHandlingTests/AntiforgeryTests.cs:line 49
       at InvokeStub_AntiforgeryTests.CanUseAntiforgeryAfterInitialRender(Object, Span`1)
       at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    ----- Inner 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.InternalExecute(String driverCommandToExecute, Dictionary`2 parameters)
       at OpenQA.Selenium.WebElement.Execute(String commandToExecute, Dictionary`2 parameters)
       at OpenQA.Selenium.WebElement.get_Text()
       at Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.FormHandlingTests.AntiforgeryTests.<>c__DisplayClass2_0.<CanUseAntiforgeryAfterInitialRender>b__0() in /home/vsts/work/1/s/src/Components/test/E2ETest/ServerRenderingTests/FormHandlingTests/AntiforgeryTests.cs:line 49
       at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_0`1.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 101

Was this helpful? Yes No