To be honest with you, this is the primary reason why I have chosen Webdriverio v6 over Cypress v5 in recent projects.
I am a cypressIO SDeT using this tool since 2018 along with wdio v4 since then.
My idea was to adapt Cypress for all new projects but failed in Proof of Concept itself due to simple reasons:
- I am unable to run tests in different domains and tests simply fail when navigated to different URL from primary domain.
- Internet Explorer is not provided part of browser support (event through Edge is included from Microsoft, I still need IE to prove some customer base can access the web pages)
- Integration to ReportPortal(for the need of artificial intelligence and machine learning to log defects or reopen defects automatically when features fail part of tests) is easy and smooth in wdio v5 but not at all considered in cypressIO v5. When asking this question to the Senior Developer of Cypress Team, he never interested about ReportPortal at all (in a public virtual conference during July'2020)
**
Your team is RIGHT in saying wdio is better over cypressio in the
implementation space you have got with B2C URLs. Since you can scale the tests with wdio in different test environment and URLs (where as cypressio wont allow that as of 29Nov2020)
**
Useful sources:
If you are trying to do Proof of Concept with Cypressio, Please try some very nice skeleton frameworks of cypressIO here:
https://github.com/narayananpalani/cypress-test-techniques
https://github.com/narayananpalani/cypress-api-test-techniques
If you want to compare Cypress with Wdio,protractor or few other test automation tools, refer some nice gTAA (general Test Automation Architecture) of test frameworks here:
https://engineers-hub.teachable.com/p/istqb-advanced-level-test-automation-engineer-professional-training-with-q-a
https://engineers-hub.teachable.com/p/cypressio
Wdio v5 Framework for comparision with entire test repository to try Proof of Concept:
https://github.com/bardius/wdio-cucumber-bdd-boilerplate