https://cypress.io logo
I thought this answer from another thread is worth...
# best-practices
m
I thought this answer from another thread is worth a copy paste 😄 The debate on Page Object vs module pattern is really just 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? How about user flows?