-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Expand file tree
/
Copy pathe2e.config.ts
More file actions
99 lines (97 loc) · 5.27 KB
/
e2e.config.ts
File metadata and controls
99 lines (97 loc) · 5.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
/**
* E2E Test Matrix Configuration
*
* This file defines which test files to run and how many shards to split them into.
* The CI workflow reads this config to generate the test matrix.
*
* Usage: node .github/workflows/e2e.config.ts
*/
import { createE2EConfig } from './utilities/e2e-matrix.ts'
export default createE2EConfig([
{ file: '_community', shards: 1 },
{ file: 'a11y', shards: 1 },
{ file: 'access-control', shards: 2 },
{ file: 'admin__e2e__general', shards: 3 },
{ file: 'admin__e2e__list-view', shards: 4 },
{ file: 'admin__e2e__document-view', shards: 3 },
{ file: 'admin-bar', shards: 1 },
{ file: 'admin-root', shards: 1 },
{ file: 'auth', shards: 1 },
{ file: 'auth-basic', shards: 1 },
{ file: 'bulk-edit', shards: 2 },
{ file: 'dashboard', shards: 1 },
{ file: 'joins', shards: 1 },
{ file: 'field-error-states', shards: 1 },
{ file: 'field-paths', shards: 1 },
{ file: 'fields-relationship', shards: 1 },
{ file: 'fields__collections__Array', shards: 1 },
{ file: 'fields__collections__Blocks', shards: 2 },
{ file: 'fields__collections__Blocks#config.blockreferences.ts', shards: 2 },
{ file: 'fields__collections__Checkbox', shards: 1 },
{ file: 'fields__collections__Collapsible', shards: 1 },
{ file: 'fields__collections__ConditionalLogic', shards: 1 },
{ file: 'fields__collections__CustomID', shards: 1 },
{ file: 'fields__collections__Date', shards: 2 },
{ file: 'fields__collections__Email', shards: 1 },
{ file: 'fields__collections__Indexed', shards: 1 },
{ file: 'fields__collections__JSON', shards: 1 },
{ file: 'fields__collections__Number', shards: 1 },
{ file: 'fields__collections__Point', shards: 1 },
{ file: 'fields__collections__Radio', shards: 1 },
{ file: 'fields__collections__Relationship', shards: 2 },
{ file: 'fields__collections__Row', shards: 1 },
{ file: 'fields__collections__Select', shards: 1 },
{ file: 'fields__collections__Tabs', shards: 1 },
{ file: 'fields__collections__Tabs2', shards: 1 },
{ file: 'fields__collections__Text', shards: 1 },
{ file: 'fields__collections__UI', shards: 1 },
{ file: 'fields__collections__Upload', shards: 1 },
{ file: 'fields__collections__UploadPoly', shards: 1 },
{ file: 'fields__collections__UploadMultiPoly', shards: 1 },
{ file: 'group-by', shards: 1 },
{ file: 'folders', shards: 3 },
{ file: 'hooks', shards: 1 },
// TODO: Enable parallel mode again when ensureCompilationIsDone is extracted into a playwright hook. Otherwise,
// it runs multiple times in parallel, for each single test, which causes the tests to fail occasionally in CI.
{ file: 'lexical__collections___LexicalFullyFeatured', shards: 1, parallel: false },
{ file: 'lexical__collections___LexicalFullyFeatured__db', shards: 1 },
// TODO: Enable parallel mode again when ensureCompilationIsDone is extracted into a playwright hook. Otherwise,
// it runs multiple times in parallel, for each single test, which causes the tests to fail occasionally in CI.
{ file: 'lexical__collections__LexicalHeadingFeature', shards: 1, parallel: false },
// TODO: Enable parallel mode again when ensureCompilationIsDone is extracted into a playwright hook. Otherwise,
// it runs multiple times in parallel, for each single test, which causes the tests to fail occasionally in CI.
{ file: 'lexical__collections__LexicalJSXConverter', shards: 1, parallel: false },
// TODO: Enable parallel mode again when ensureCompilationIsDone is extracted into a playwright hook. Otherwise,
// it runs multiple times in parallel, for each single test, which causes the tests to fail occasionally in CI.
{ file: 'lexical__collections__LexicalLinkFeature', shards: 1, parallel: false },
// TODO: Enable parallel mode again when ensureCompilationIsDone is extracted into a playwright hook. Otherwise,
// it runs multiple times in parallel, for each single test, which causes the tests to fail occasionally in CI.
{ file: 'lexical__collections__LexicalListsFeature', shards: 1, parallel: false },
{ file: 'lexical__collections__OnDemandForm', shards: 1 },
{ file: 'lexical__collections__Lexical__e2e__main', shards: 2 },
{ file: 'lexical__collections__Lexical__e2e__blocks', shards: 2 },
{ file: 'lexical__collections__Lexical__e2e__blocks#config.blockreferences.ts', shards: 2 },
{ file: 'lexical__collections__RichText', shards: 1 },
{ file: 'query-presets', shards: 1 },
{ file: 'form-state', shards: 1 },
{ file: 'live-preview', shards: 2 },
{ file: 'localization', shards: 2 },
{ file: 'locked-documents', shards: 1 },
{ file: 'i18n', shards: 1 },
{ file: 'plugin-cloud-storage', shards: 1 },
{ file: 'storage-s3__client-uploads#client-uploads/config.ts', shards: 1 },
{ file: 'storage-vercel-blob__client-uploads#client-uploads/config.ts', shards: 1 },
{ file: 'plugin-form-builder', shards: 1 },
{ file: 'plugin-import-export', shards: 1 },
{ file: 'plugin-multi-tenant', shards: 2 },
{ file: 'plugin-multi-tenant#config.conditionalProvider.ts', shards: 1 },
{ file: 'plugin-nested-docs', shards: 1 },
{ file: 'plugin-redirects', shards: 1 },
{ file: 'plugin-seo', shards: 1 },
{ file: 'queues', shards: 1 },
{ file: 'sort', shards: 1 },
{ file: 'server-url', shards: 1 },
{ file: 'trash', shards: 2 },
{ file: 'versions', shards: 3 },
{ file: 'uploads', shards: 3 },
])