Skip to content

Playwright template CI depends on public website load completing within 30 seconds #7601

Closed

Description

@thomhurst

Summary

The macOS pipeline can fail when the Playwright template test navigates to the public playwright.dev website and waits for its load event. A network or website delay fails the repository CI even when the template builds and the engine tests pass.

Reproduction

Observed in macOS job 126730039080, head 0619738. Run the Release Playwright template project. src/TUnit.Templates/content/TUnit.Playwright/Tests.cs:11 calls navigation to https://playwright.dev/; it exceeded the 30,000 ms timeout waiting for load. One of two tests failed.

Expected and actual

Expected: template CI verifies the browser and assertions reliably. Actual: availability and load time of a public website determine CI success. Make template validation deterministic, for example by serving local test content while retaining useful template examples.

Environment

GitHub Actions macos-latest, Release/net10.0, arm64. Found while validating #7569.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium: edge case, mode divergence, flaky test, or workaround existsbugSomething isn't workingin-progressWork is in progress

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions