microsoft / playwright

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
https://playwright.dev
Apache License 2.0
63.81k stars 3.46k forks source link

[Feature] Add support for multiple vite plugins for component testing infra #23463

Open shairez opened 1 year ago

shairez commented 1 year ago

I'm writing the Qwik integration now and Qwik has 2 vite plugins, one for the meta framework "Qwik City".

Currently, the createPlugin at the core handles only one plugin.

I guess this will be a requirement for supporting other meta frameworks like solidstart and next etc

I'll create a PR with the fix

sand4rt commented 1 year ago

Hey @shairez, I happened to be working on Qwik component testing too and ran into the same issue. Already created a PR last week for multiple Vite plugin support (see above).

We could combine efforts if you're interested?

shairez commented 1 year ago

Awesome @sand4rt , let's chat on discord!