Skip to content

[Failing test] Aspire.Dashboard.Tests.Integration.Playwright.AppBarTests.AppBar_Change_Theme_ReloadPage #7943

@karolz-ms

Description

@karolz-ms

Build Information

Build:
Build error leg or test failing: Aspire.Dashboard.Tests.Integration.Playwright.AppBarTests.AppBar_Change_Theme_ReloadPage
Pull request: #5363

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": " System.TimeoutException : The operation at /_/tests/Aspire.Dashboard.Tests/Integration/Playwright/AppBarTests.cs",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": true
}

PR #7938 had the Aspire.Dashboard.Tests.Integration.Playwright.AppBarTests.AppBar_Change_Theme_ReloadPage test fail twice with the same call stack, on Windows only

Error Message:
2025-03-06T20:30:57.0698963Z    System.TimeoutException : The operation at /_/tests/Aspire.Dashboard.Tests/Integration/Playwright/AppBarTests.cs:73 timed out after reaching the limit of 5000ms.
2025-03-06T20:30:57.0713498Z   Stack Trace:
2025-03-06T20:30:57.0716855Z      at Microsoft.AspNetCore.InternalTesting.AsyncTestHelpers.TimeoutAfter(Task task, TimeSpan timeout, String filePath, Int32 lineNumber) in /_/tests/Shared/AsyncTestHelpers.cs:line 149
2025-03-06T20:30:57.0720059Z    at Aspire.Dashboard.Tests.Integration.Playwright.AppBarTests.<AppBar_Change_Theme_ReloadPage>b__2_0(IPage page) in /_/tests/Aspire.Dashboard.Tests/Integration/Playwright/AppBarTests.cs:line 73
2025-03-06T20:30:57.0738841Z    at Aspire.Dashboard.Tests.Integration.Playwright.Infrastructure.PlaywrightTestsBase`1.RunTestAsync(Func`2 test) in /_/tests/Aspire.Dashboard.Tests/Integration/Playwright/Infrastructure/PlaywrightTestsBase.cs:line 28
2025-03-06T20:30:57.0744644Z    at Aspire.Dashboard.Tests.Integration.Playwright.Infrastructure.PlaywrightTestsBase`1.RunTestAsync(Func`2 test) in /_/tests/Aspire.Dashboard.Tests/Integration/Playwright/Infrastructure/PlaywrightTestsBase.cs:line 33
2025-03-06T20:30:57.0748679Z    at Aspire.Dashboard.Tests.Integration.Playwright.AppBarTests.AppBar_Change_Theme_ReloadPage() in /_/tests/Aspire.Dashboard.Tests/Integration/Playwright/AppBarTests.cs:line 71
2025-03-06T20:30:57.0750449Z --- End of stack trace from previous location ---
2025-03-06T20:30:57.0751524Z 
2025-03-06T20:30:57.0782103Z ##[error]System.TimeoutException : The operation at /_/tests/Aspire.Dashboard.Tests/Integration/Playwright/AppBarTests.cs:73 timed out after reaching the limit of 5000ms.

Very unlikely the change in the PR caused the failure.

After consulting with @adamint I am going to disable the test

@radical FYI

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions