Ctrl K
QA · Junior · Theory

What are flaky automated tests, where do they come from, and what do you do about them?

~4 min by voice

How to approach it

The interviewer wants to see whether you understand that a flaky test is a signal of a problem, not a "normal thing". You need to know the typical causes (timing, test dependencies, the environment) and be able to eliminate them systematically, not hide them with reruns.

Have you seen this question in a real interview?
Answers0
Avg. score—
Strong—
Practiced0
Topics
Similar questionsThere's a UI test: it creates an order through the API for a shared test user, waits two seconds with sleep, opens the order list, and checks that the first order in the list is the one just created. In a parallel run the test fails about one time in ten. Name the causes and rewrite the test so it becomes stable. SeniorHow do you decide which checks to automate and which to keep manual, and how do you judge whether automation is paying off? SeniorWhat problems with the Page Object pattern have you run into on a large project, and how did you solve them? SeniorHow do you decide which tests are worth automating and which are better left manual? JuniorWhat is the testing pyramid, and why does it have that particular shape? Junior

Answer by voice

The interviewer will ask this question and listen. Think out loud and ask for a hint if you need one. When you're done, pause or tap “That's my answer”. In about a minute, your score and the points you covered show up here.

Sign in to answer

Best with headphones · ~4 min