01
How do you reuse login state across tests?
Show answer
Log in once in global setup, save storageState to a JSON file and set use.storageState in the config so every test starts logged in.
79 questions with answers. Real-work situations — broken dashboards, flaky tests, unclear requirements — and how a strong Playwright automation engineer would handle them.
Clarify the situation, list likely causes, say how you would check each one, then give the fix and how you would stop it happening again.
They show how you think on real problems. Interviewers use them to separate people who memorised definitions from people who have done the work.
Clarify the situation, list likely causes, say how you would check each one, then give the fix and how you would stop it happening again.