Flaky Tests interview questions — Hard
125 hard-level Flaky Tests questions from our Automation Testing bank, each with the correct answer and an explanation of why it is correct.
This topic slice is available to practise but is not yet part of our indexed set.
What this covers
Flaky Tests appears throughout Automation Testing interviews. At hard level, interviewers are typically checking depth under pressure — edge cases, failure modes, performance characteristics, and the trade-offs you accepted. Work through these, then explain your answer out loud; the second part is what interviews actually test.
4 example questions
1. Regarding Flaky Tests, which of the following is a false statement?
- A. Time-of-day can never affect the outcome of an automated test.correct
- B. Test data collisions in shared environments cause intermittent failures under parallel runs.
- C. Playwright traces, videos, and screenshots make diagnosing flaky failures far easier.
- D. Time and timezone dependencies (e.g., tests that fail at midnight) are classic flakiness sources.
Why: The selected statement is false. The other options are accurate statements about Flaky Tests.
2. Which of the following statements about Flaky Tests is FALSE?
- A. Time and timezone dependencies (e.g., tests that fail at midnight) are classic flakiness sources.
- B. Measuring a flake rate per test over many runs identifies the worst offenders objectively.
- C. Automatically retrying tests forever is a root-cause fix for flakiness.correct
- D. Race conditions with async operations cause elements to be interacted with before they are ready.
Why: The selected statement is false. The other options are accurate statements about Flaky Tests.
3. Identify the INCORRECT statement about Flaky Tests:
- A. Shared mutable state between tests causes order-dependent failures.
- B. Retrying a failed test can mask real defects if used as a permanent fix.
- C. Test data collisions in shared environments cause intermittent failures under parallel runs.
- D. Time-of-day can never affect the outcome of an automated test.correct
Why: The selected statement is false. The other options are accurate statements about Flaky Tests.
4. Which statement about Flaky Tests is NOT correct?
- A. Measuring a flake rate per test over many runs identifies the worst offenders objectively.
- B. Retrying a failed test can mask real defects if used as a permanent fix.
- C. Time-of-day can never affect the outcome of an automated test.correct
- D. Shared mutable state between tests causes order-dependent failures.
Why: The selected statement is false. The other options are accurate statements about Flaky Tests.