DEV Community

Discussion on: How Sunk-Cost fallacy is making us write bad code

Collapse
 
shivenigma profile image
Vignesh M

Thanks for the suggestion John, I checked Cypress before and couldn't use it because it was not supported by browserstack. We are using browserstack to run E2E tests using protractor before deploying to staging. The main issue here is, Our app is constantly evolving and it is really hard to keep the tests in the same pace. we are trying to do that and improve coverage.

Collapse
 
jwp profile image
John Peters

Yes understood. Are you using page object models? And can you auto create them?

Thread Thread
 
shivenigma profile image
Vignesh M

No, I heard about them when reading about selenium, but I am not sure of them in Angular and protractor's context. But when I think about it for E2E tests, it shouldn't matter if I use angular or just Vanilla JS. So I will look into it and see if I can bring them into our tests.