Load Auth State
load-auth-state restores cookies and local storage saved by an earlier save-auth-state step. Together they let you log in once and reuse the session across many tests without running the login flow each time.
yaml
- load-auth-state:
from: ./.auth/admin.jsonPair this with a setup test that logs in and calls
save-auth-state. Run it once per CI job before the rest of the suite.