Skip to content

[feature] components generate /playwright/index.[tj]sx instead of /playwright/index.[tj]s #72

@sand4rt

Description

@sand4rt

Can Playwright generate /playwright/index.[tj]sx instead of /playwright/index.[tj]s for the following tsx frameworks?:

  • Solid
  • React

I think this would be better because tsx can be returned since: https://github.com/microsoft/playwright/pull/18616/files#diff-aa90f1a2f6a8431f5441420bd16c0f0dff360678ffdbee761455e36f15aa0139R14
microsoft/playwright#18616

Please note that if this changes, the documentation will need to be updated as well:
https://playwright.dev/docs/test-components#step-1-install-playwright-test-for-components-for-your-respective-framework

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