In Chapter 3 we learned to
locate and assert cleanly. But look at our login test from Chapter 2 — the
selectors and the steps still live inside the test. Write five tests that need
a logged-in user and you'll copy that block five times. Change the login form and
you'll edit it five times.






