Skip to content

Use local webservers for flutter/packages integration tests #95420

@stuartmorgan-g

Description

@stuartmorgan-g

We have integration tests for at least webview_flutter and video_player that are currently hitting external URLs, which is random test failure waiting to happen (this has already been a problem at least once). In the long term we probably need to have the tests run their own local server for some use cases, but for most of them just having a static site We should use local web servers so that:

  • we can change in-repo,
  • we know won't suddenly change out from under us (e.g., removal of a video we are pointing at), and
  • won't have unexpected behaviors (like when a Google page we were pointing to started redirecting our tests to a "suspicious activity" page when run from CI)

would solve a lot of potential problems. We should be able to do that via GitHub pages running on flutter/plugins.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.packageflutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions