I've never done e2e testing in Angular before, but I'm researching this now. Is this mostly for testing DOM analysis and interactions only or can it handle other use cases?
Generally you would write E2E tests as if it was a real user interacting with the application (e.g. go here, click this, add this, expect that this happened). Cypress does also have component testing now, but that is something different.
I've searched for months looking for a tutorial for Ionic e2e tests. This is really awesome. Is Cypress replacing Protractor in general? Is Protractor and Jasmine being deprecated in general or just with Ionic?
Cypress isn't necessarily "replacing" Protractor, but most likely Protractor will be removed from Angular apps by default and it looks like development on Protractor will be stopped eventually. The Angular team might end up including Cypress by default for E2E tests, or maybe they will provide an option to include it, or maybe there will just be no E2E testing frameworks included by default and you just install what you want. This is just Protractor, Jasmine/Karma is a separate thing. It seems like a lot of people are moving away from Karma towards Jest, but Jest is based on Jasmine anyway so it's not hard to switch over if you want.
I can't describe how useful and good your tutorials are my dear !
Thank you very much for the efforts
Excellent, Dear!
Would be cool if you could make a video about a ci/cd pipeline with cypress (and ionic with angular)
Hey Joshua, thanks for the content.
Quick question, how would you go about mocking a BLE plugin on e2e tests in a @ionic/vue app? Thanks in advance.
Thanks, Cypress is really nice
Hmm.. Nice. It seems you have improved your video content creation quality dramatically. Great!. When will we have this module on your Ionic book?
It will be an Elite Ionic module not part of any of my books, but I'm hoping to get the new version of Elite Ionic live sometimes around May-June
@@JoshuaMorony Ok nice!
@@JoshuaMorony Can you please push your code on github ?
I've never done e2e testing in Angular before, but I'm researching this now. Is this mostly for testing DOM analysis and interactions only or can it handle other use cases?
Generally you would write E2E tests as if it was a real user interacting with the application (e.g. go here, click this, add this, expect that this happened). Cypress does also have component testing now, but that is something different.
Can you please put your code on github or somewhere? It is really necessary for me,thank you so much!
I've searched for months looking for a tutorial for Ionic e2e tests. This is really awesome.
Is Cypress replacing Protractor in general?
Is Protractor and Jasmine being deprecated in general or just with Ionic?
Cypress isn't necessarily "replacing" Protractor, but most likely Protractor will be removed from Angular apps by default and it looks like development on Protractor will be stopped eventually. The Angular team might end up including Cypress by default for E2E tests, or maybe they will provide an option to include it, or maybe there will just be no E2E testing frameworks included by default and you just install what you want.
This is just Protractor, Jasmine/Karma is a separate thing. It seems like a lot of people are moving away from Karma towards Jest, but Jest is based on Jasmine anyway so it's not hard to switch over if you want.
@@JoshuaMorony Can you please put your code on github or somewhere? It is really necessary for me,thank you so much!
@@JoshuaMorony I think it will be included as one of several options in the CLI