Custom commands fixed repeated actions, like login. There is a second kind of repetition, and it hurts just as much.
Look at these three lines. They appear in eight different test files:
When the same selectors appear in ten files, one UI change breaks all of them. Put them in one object.
Custom commands fixed repeated actions, like login. There is a second kind of repetition, and it hurts just as much.
Look at these three lines. They appear in eight different test files:
full course
The Foundations track and the first lessons in each framework are free. This lesson needs full course access. A course plan includes all lessons for Playwright, Cypress and Selenium.
See course plans →