Skip to content
CodeKruPro

Common causes of flaky UI tests

QuizEasy-MediumAsked in: Capgemini

Which of these commonly make UI tests flaky? Choose all that apply.

  • Fixed sleeps instead of waits for a condition
  • Several tests logging in as the same user at the same time
  • A small default headless window that hides parts of the page
  • Each test creating its own unique data
  • Locators that depend on position, such as the third div

This question is part of Pro+

Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.

See Pro+

Already have Pro+? Sign in