diff --git a/test/fields/collections/Array/index.ts b/test/fields/collections/Array/index.ts index 3e819094e9..e1ccf5d4f1 100644 --- a/test/fields/collections/Array/index.ts +++ b/test/fields/collections/Array/index.ts @@ -260,6 +260,42 @@ const ArrayFields: CollectionConfig = { }, ], }, + { + name: 'nestedArrayWithLabels', + type: 'array', + labels: { + singular: 'Nested Array With Labels', + plural: 'Nested Arrays With Labels', + }, + fields: [ + { + name: 'firstChildArray', + type: 'array', + label: 'First Child Array Label', + fields: [ + { + name: 'secondChildArray', + type: 'array', + label: 'Second Child Array Label', + fields: [ + { + name: 'childWithoutLabel', + type: 'array', + fields: [ + { + name: 'text', + label: 'Custom Text Label', + type: 'text', + required: true, + }, + ], + }, + ], + }, + ], + }, + ], + }, ], slug: arrayFieldsSlug, versions: true,