qwik icon indicating copy to clipboard operation
qwik copied to clipboard

Add qwik add command for Cypress

Open jordanpowell88 opened this issue 3 years ago • 2 comments

Is your feature request related to a problem?

Currently, playwright is the default E2E testing solution. However, Cypress has a very strong end to end user base and is the default in many other frameworks. It would be great to allow users the option to use Cypress as an alternative

Describe the solution you'd like

Something like qwik add cypress would remove playwright, add cypress package and configure.

Describe alternatives you've considered

This could be left for users to do but this is a less than ideal DX in my opinion

Additional context

No response

jordanpowell88 avatar Oct 30 '22 22:10 jordanpowell88

I dont think we even have a official support for playwright, I know for a fact that some community member was working on it though

manucorporat avatar Oct 31 '22 11:10 manucorporat

@manucorporat is there any interest in adding cypress?

i've added this for my project and have managed to do some things with global-agent http proxy to get SSR utilizing cypress intercepts (for mocking in functional tests). happy to find some time to contribute this back to qwik if there is interest here!

jessezhang91 avatar Jan 06 '23 17:01 jessezhang91

Hi @jessezhang91 👋

Just wanted to let you know about a community project regarding your request. @shairez (community DevRel. of qwik) and other community members are working on this over here https://github.com/qwikifiers/cypress-qwik 🎉

I'll close this issue because the core team decided to offer this as a community plugin and not integrate it into the core atm.

zanettin avatar Feb 21 '23 20:02 zanettin

Thanks @zanettin

I'm re-opening this because once cypress-qwik is stable we can add an add command here that will install it (it doesn't have to be part of qwik, but just an integration, just like playwright and vitest)

So once the PR will be merged we could close this

And @jessezhang91 we'd love to have you join as a collaborator, DM me on discord if you're interested Thanks!

shairez avatar Feb 21 '23 20:02 shairez

Fixed by @shairez !

manucorporat avatar Apr 28 '23 06:04 manucorporat

Thanks for doing this @shairez

jordanpowell88 avatar May 10 '23 14:05 jordanpowell88

Aure thing @jordanpowell88 It was a team effort with @manucorporat 🙌

And thanks for helping with this plugin 🙏

shairez avatar May 10 '23 17:05 shairez