17426: Can add plugin middlewares and context menus
[arvados.git] / src / views-components / form-fields / collection-form-fields.tsx
index b3a3c224dbb097023906cdef0eac14df34da366a..623cb31782dee17aea8a3e44e707729d525fdc60 100644 (file)
@@ -27,12 +27,12 @@ export const CollectionNameField = connect(
                 COLLECTION_NAME_VALIDATION : COLLECTION_NAME_VALIDATION_ALLOW_SLASH)
         };
     })((props: CollectionNameFieldProps) =>
-        <Field
+        <span data-cy='name-field'><Field
             name='name'
             component={TextField}
             validate={props.validate}
             label="Collection Name"
-            autoFocus={true} />
+            autoFocus={true} /></span>
     );
 
 export const CollectionDescriptionField = () =>