A Guide to Set Up UI Test Framework

Background
As web apps become more and more complex, UI tests become more and more important. But how is one supposed to set up a test framework for front-end code? Those who have done such jobs may know that there are many challenges to making the front-end tests meet the real world’s needs. The biggest challenges are following two aspects:

We need to deal with the DOM operations in the UI tests. The DOM operation is essentially very complex and heavy. We can bypass it when writing UI test cases.

Link: https://dzone.com/articles/a-guide-to-setup-ui-test-framework-using-karma-chr?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev