Question library
Questions from real interviews. Drill any of them by voice in a couple of minutes, with an interviewer, a score and feedback.
How do automated tests fit into continuous integration, and what happens when a test fails in the pipeline?JuniorHow do you decide which tests are worth automating and which are better left manual?JuniorWhat are flaky automated tests, where do they come from, and what do you do about them?JuniorWhat is the Page Object pattern, and why is it used in UI test automation?JuniorWhat is the testing pyramid, and why does it have that particular shape?JuniorAbout five percent of the automated tests in CI fail every now and then without any code changes. How would you deal with that?Mid-levelHow would you integrate automated tests into a CI pipeline: which tests would you run at which stage, and what should happen when they fail?Mid-levelWhy do UI test suites use the Page Object pattern, and what problems come up with it as the project grows?Mid-levelYou join a project with 800 automated UI tests and almost no unit or API tests, and a full run takes two hours. What would you do about it?Mid-levelYour team is choosing a tool for UI test automation on a new web project: Selenium, Playwright, or Cypress. What criteria would you take into account when choosing?Mid-levelYou've been handed an online store with not a single automated test, weekly releases, and a manual regression that takes two days. How would you build out test automation over the first three to six months?Mid-levelHow do you decide which checks to automate and which to keep manual, and how do you judge whether automation is paying off?SeniorHow do you systematically deal with flaky automated tests in a large test suite?SeniorWhat problems with the Page Object pattern have you run into on a large project, and how did you solve them?SeniorHow would you design a test automation framework that five product teams will use?Senior