perf: test Builder shards with four workers

This commit is contained in:
Oleg Isonen committed 2026-11-16 21:08:38 +00:00
1 parent a6e97b3c4a
commit 1a0b44f446
3 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -127,7 +127,7 @@ runs:
E2E_TEST_PARTITION: ${{ inputs.partition }}
run: |
# Select only the E2E test files. Playwright runs setup as a dependency.
args=(--workers=3 'e2e/tests/')
args=(--workers=4 'e2e/tests/')
if [ -n "$E2E_TEST_PARTITION" ]; then
args+=(--shard="$E2E_TEST_PARTITION")
fi
+1 -1
View File
@@ -95,7 +95,7 @@ each invocation.
- Keep tests in a file independent even though Playwright runs them in
declaration order by default.
CI runs five isolated Playwright shards with three workers each. Files have a
CI runs five isolated Playwright shards with four workers each. Files have a
fixed assignment based on measured CI duration to keep the slowest job short:
```txt
@@ -115,6 +115,7 @@ test("Content templates, assets, and collection entries persist across Builder m
page,
anchorText: "Initial content",
templateName: fixture.imageReplacementTemplateName,
waitForProjectSync: false,
});
await waitForCanvasImage({
page,