All jobs / Automation developer / Automation Fundamentals
Automation developer interview question · 1–3 years
The framework offers retries: 2 on every test. When do you use it?
The strongest answer
Almost never on the whole pack — maybe a known third-party seam with a ticket — retries as default policy train you to ignore races
Why it works
Exactly. A retry is a confession. Default retries make flakes look like weather.
What a good answer covers
- No pack-wide retries.
- A retry needs a ticket.
- Find the race.
- Do not special-case the VP suite.
Answers that fall short
- Close, but not the strongest: Always; CI is noisy
Noise is a cause to find, not a blanket. - Weak: On asserts only, never on setup
Half-retry is still a hide. - Red flag: On the tests the VP watches so their dashboard stays green
Political green is a red flag.
Who gets asked this
More Automation Fundamentals questions
- You quarantine a flake. What else is required?
- When do you stub the payment API in a UI test?
- The UI pack is 70% of runtime and finds 10% of bugs. What do you do?
- How do you talk about flakes with a director?
- People rerun the PR pipeline “until green.” What do you change?
- What is a fair quarantine SLA for a money-path flake?
- What does a good flake RCA fit on?
- A “common” UI pack has no squad name on it. What happens next?