All jobs / Automation developer / Quality Engineering
Automation developer interview question · 3–5 years
You are reviewing a pull request that adds twelve new end-to-end tests.
What do you actually look for?
The strongest answer
Whether each test would fail if the feature broke, and fail for one clear reason; that it creates and cleans its own data, waits on conditions rather than time, asserts something a user cares about, and is named after what it protects
Why it works
Right — the first question is whether it can fail for the right reason; everything else follows from it.
What a good answer covers
- Would it fail if the feature broke?
- One reason to fail, clearly named.
- Owns its data; waits on conditions.
- The name says what it protects.
Answers that fall short
- Close, but not the strongest: Sleeps, shared data and weak locators — the usual sources of flakiness
A good flake checklist; it does not ask whether the test proves anything when it passes. - Weak: That the tests pass in CI and that the style matches the rest of the suite
Green and consistent is how a suite full of tests that assert nothing gets built. - Red flag: Twelve end-to-end tests at once is too many to review properly, so I would approve and watch the suite
Waving through twelve gates is how a suite becomes something nobody trusts and nobody can delete.
Who gets asked this
More Quality Engineering questions
- What does a senior SDET owe that a strong junior does not yet?
- An end-to-end test fails in CI against a deployed environment. The report shows a 500 from the checkout call…
- A Sev-1 shipped through a green pipeline. How do you learn?
- A release train wants the UI gate optional “to go faster.” What do you do?
- A director asks for the ROI of the automation pack. What do you refuse to invent?
- What do you listen for when hiring a senior SDET?
- Main is always green and nobody trusts it. What do you inspect?
- An engineering manager says the app “is not testable”. What does that mean concretely?