Angular-cli: Consider using Cypress for E2E testing

Created on 11 Oct 2017  路  6Comments  路  Source: angular/angular-cli

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ x ] feature request

Desired functionality.

Cypress is a brand new E2E testing tool that allows devs to do so much more than protractor (CF this video).

It is now out of private beta and I'm aware that it might be a bit early to think of an integration with the CLI. But, I'm sure that opening this issue is not a bad idea so we can discuss pro/const and maybe see an integration in few (weeks :heart:?) months :smile:.

Most helpful comment

+1 for Cypress support. Selenium is a pain, even with protractor to help. I think we all understand rewriting a test suite is time consuming. I think a discussion of the merits is well warranted.

All 6 comments

Hi @maxime1992,

Thanks for the suggestion. This is interesting. However, supporting an e2e framework is hard enough already for us, adding support for another one (or switching altogether) is a lot of efforts. We won't have the bandwidth to do it anytime soon, if ever.

This is something that might be mitigated by having extensibility in the CLI, which is planned further down the line. At which point, you could implement a plugin that changes our current e2e to use whatever you want.

+1 for Cypress support. Selenium is a pain, even with protractor to help. I think we all understand rewriting a test suite is time consuming. I think a discussion of the merits is well warranted.

I am also in favor of adding Cypress support. It's a _much_ better UI testing experience than Selenium and Protractor.

Although, this may be better address upstream in the angular core community. If traction develops there it will flow into the downstream tools.

Perhaps this could be supported thru schematics? (by the cypress team)

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings