Ctrl K
QA · Mid-level · Theory

About five percent of the automated tests in CI fail every now and then without any code changes. How would you deal with that?

~4 min by voice

How to approach it

They're checking whether you can systematically investigate flaky tests rather than hiding them behind retries and sleeps: whether you understand the harm, the typical causes, and the process — from data to a fix.

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