-
-
Notifications
You must be signed in to change notification settings - Fork 178
Should we add/migrate to Cypress ? #401
Comments
+1 as long as we also support protractor. It will allow consumers to choose protractor if they require cross browser testing support. I am also thinking to refactor current suite of protractor tests to align with style guide, but, not sure how much time I can devote to it. |
I'm against supporting 2 options and I have some reservations when it comes to Cypress(as I mentioned in the other threads I have used cypress in our company. While I liked many of its features. I have few issues though.
|
It is hard to maintain multiple options, but as vue-cli supports nightwatch and cypress policy 1 might be applicable as protractor was designed for angular if I am not mistaken. So yes supporting multiple e2e solutions is not great (but right now vue is a blueprint and not in core). When it comes to browser compatibility we might have a look at nightwatch (also I have very good experience with cypress, but our e2e test suite is quite small and simple). |
Ping @sahbi-ktifa @hdurix |
Hello, here are my thoughts:
and the code behind
with no custom code generated
The only sure thing is that moving from protractor should not be a quick decision made here in this thread. Do you think we could ask to our end users on Twitter what framework do they prefer (Protractor / Cypress / no preference / No e2e tests)? |
With v4.0 cypress release, Firefox and the new Edge browsers are also supported. Maybe it's time to revisit this issue and target in |
👍 |
Support for Firefox and Microsoft Edge has been added: cypress-io/cypress#310 |
made a list of pros and cons |
@pascalgrimaud I think you can close this ticket. JHipster supports Cypress now :) |
Overview of the feature request
Hi all ! As we had some issues with flaky protractor tests, I started to look if Cypress could help, and finished by coding a draft for supporting Cypress.
I don't know how you feel about that: as @deepu105 said, it is already difficult to maintain all of the options of the generator, so adding one seems difficult. So, I'll leave it up to you to decide what should be done with this PR (#399), and if we should migrate to Cypress or not.
Anyway, it was fun to develop! 😄
Motivation for or Use Case
Cypress looks more fitted to do e2e testing with Vue.js than Protractor: IMO, it seems easier to get rid of some flaky tests and code looks cleaner.
Related issues or PR
#399
The text was updated successfully, but these errors were encountered: