Welcome to Part 4 — Integration, the part that separates a toy suite from a real

one: making the API and UI layers work together. We start with the highest-leverage

example — authentication.

Logging in through the UI form on every test is slow (page load + type + submit +

redirect) and repetitive. Playwright's answer is storageState: capture the