Skip to content

[Feature]: Async test detection #35883

@Jas0nch

Description

@Jas0nch

🚀 Feature Request

Hi Playwright team, is it possible for Playwright to support async test detection? The playwright did the test detection during the initial of the test run, so it can only accept fixed parameters.

For now, it's impossible to have the tests detected during runtime. So I'm asking if it's possible to add support for dynamic test detection in runtime?

Example

For example, if we have a page contains a dropdown with dynamic options, and we want to have a parallel parameterized test set against every option of that dropdown, it's not possible to do so.

Also, If we have a list of test data provided by some api, we are not able to test each of those test data but it can only be a fixed number located locally.

Motivation

  • Supporting dynamic test detection can bring flexility and more capability to Playwright

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions