lecture 14 of 150 completed

When your tests run without you

What changes on a build server, and why a slow or flaky suite quietly becomes useless.

What you'll learn

  • What changes when tests run without you
  • Why a slow suite stops being run at all
  • Why flaky tests teach a team to ignore red

You write tests on your laptop. But they do their real job on a build server. A machine that runs your whole suite automatically every time someone changes the code. In most teams this is called CI.

Four things are different there, and each can cause a failure.

The machine is slower, and there is no screen.

Build servers are usually smaller than your laptop, and they run the browser without showing it. Any test that quietly depended on your fast machine will start failing. That is not bad luck. The server is finding timing assumptions you did not know you had made.

full course

Keep reading with the full course

The Foundations track and the first lessons in each framework are free. This lesson needs full course access. A course plan includes all lessons for Playwright, Cypress and Selenium.

See course plans →