https://cypress.io logo
If you have labels and some accessibility, Test Li...
# best-practices
m
If you have labels and some accessibility, Test Library is freebie. Just use it. The discussion can be about PO vs module pattern. And really it is Inheritance vs Composition. Inheritance (PO) is great for describing what something is; the page has x, y, z on it Composition (module pattern) is great for describing what something does. Which one do you think best fits component based architecture, where components are the building blocks and get reused on pages?