3 ms·
How does that address the issue of the UI changing? If the markup changed, you still need to update your tests.
by atarian 6y ago
How does that address the issue of the UI changing? If the markup changed, you still need to update your tests.
- hinkley 6y agoA great deal of your non-determinism is in trying to run an End-to-End test while the UI is still trying to settle. For instance, your negative tests (click something and make sure nothing happens) can fail to detect anything at all because they perform an action and then validate the UI before the action has even processed. Yes, of course nothing has happened, because you didn't let it.
- amw-zero 6y agoLet me clarify. Non-determinism is just one issue. The other issue is how frequently the UI changes. For example, a large form can get broken out into a wizard. The UI is completely semantically different, but performs the same functionality. How do you make such UI changes without your test suite slowing you down?