Open btford opened 9 years ago
I think some simple sanity checks will go a long way without reducing flexibility. If any of the sites listed undergo a major change and it breaks these tests, that test should be quickly removed or replaced without too much pain. The required tests against those sites seem to be fairly simple and probably should stay that way.
I can/have started:
The google redirects to non-angularjs login page if there isn't a session/login, unlike the others.
To avoid ever releasing a problematic version of Batarang again, I want to run the instrumentation code against a few Angular production apps.
Here's my list of apps:
Here are my pending tasks for implementing these tests:
I'll need to strike a balance between making tests comprehensive, yet easy to maintain if the app changes in production. The benefit of having better integration tests needs to outweigh the cost of keeping them up-to-date.