Skip to content

Outer-loop: Dashboard tests don't run because of missing Playwright dependencies #8496

@radical

Description

@radical

For example:

Aspire.Dashboard.Tests.Integration.Playwright.AppBarTests.AppBar_Change_Theme_ReloadPage [FAIL]
  Microsoft.Playwright.PlaywrightException : Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium_headless_shell-1155/chrome-linux/headless_shell
  ╔════════════════════════════════════════════════════════════╗
  ║ Looks like Playwright was just installed or updated.       ║
  ║ Please run the following command to download new browsers: ║
  ║                                                            ║
  ║     pwsh bin/Debug/netX/playwright.ps1 install             ║
  ║                                                            ║
  ║ <3 Playwright Team                                         ║
  ╚════════════════════════════════════════════════════════════╝
  Stack Trace:
    /_/src/Playwright/Transport/Connection.cs(206,0): at Microsoft.Playwright.Transport.Connection.InnerSendMessageToServerAsync[T](ChannelOwner object, String method, Dictionary`2 dictionary, Boolean keepNulls)
    /_/src/Playwright/Transport/Connection.cs(535,0): at Microsoft.Playwright.Transport.Connection.WrapApiCallAsync[T](Func`1 action, Boolean isInternal)
    /_/src/Playwright/Core/BrowserType.cs(56,0): at Microsoft.Playwright.Core.BrowserType.LaunchAsync(BrowserTypeLaunchOptions options)
    /home/runner/work/aspire/aspire/tests/Shared/Playwright/PlaywrightProvider.cs(36,0): at Aspire.Templates.Tests.PlaywrightProvider.CreateBrowserAsync(BrowserTypeLaunchOptions options)
    /home/runner/work/aspire/aspire/tests/Aspire.Dashboard.Tests/Integration/Playwright/Infrastructure/PlaywrightFixture.cs(20,0): at Aspire.Dashboard.Tests.Integration.Playwright.Infrastructure.PlaywrightFixture.InitializeAsync()
    /home/runner/work/aspire/aspire/tests/Aspire.Dashboard.Tests/Integration/Playwright/Infrastructure/DashboardServerFixture.cs(39,0): at Aspire.Dashboard.Tests.Integration.Playwright.Infrastructure.DashboardServerFixture.InitializeAsync()

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions