Use Component Drivers to Control Components in Tests
Often tests begin to look like a set of hard-to-maintain selectors, data selection logic, and user event simulation features. Writing each new test becomes just a "copy-paste", and changing one component requires changing a large number of integration and E2E tests. The solution to make the logic control components separately in the driver. The path from such a test to the fact that each component will have its own driver in which all the logic of component management will be encapsulated.
- Frontend Team Lead at Wix
- 10+ years of experience in ІТ
- Loves tests and most of his last professional grow he did in improving testing experience
- Loves mom and dad