docs(nx-cloud): add e2e test video

This commit is contained in:
Juri 2024-03-14 20:20:33 +01:00 committed by Miroslav Jonaš
parent 3b8cbae912
commit 194b3dd3fc

View File

@ -1,5 +1,10 @@
# Automatically Split E2E Tasks by File
{% youtube
src="https://youtu.be/0YxcxIR7QU0"
title="10x Faster e2e Tests!"
width="100%" /%}
In almost every codebase, e2e tests are the largest portion of the CI pipeline. Typically, e2e tests are grouped by application so that whenever an application's code changes, all the e2e tests for that application are run. These large groupings of e2e tests make caching and distribution less effective. Also, because e2e tests deal with a lot of integration code, they are at a much higher risk to be flaky.
You could manually address these problems by splitting your e2e tests into smaller tasks, but this requires developer time to maintain and adds additional configuration overhead to your codebase. Or, you could allow Nx to automatically split your Cypress or Playwright e2e tests by file.