Fixes React does not recognize the ouiaId prop on a DOM element warning in NotificationTemplateList test

This commit is contained in:
mabashian 2021-04-28 10:48:53 -04:00
parent 04ca1cb1a3
commit cc5a73aeb9

View File

@ -227,7 +227,7 @@ function NotificationTemplatesList({ i18n }) {
{i18n._(t`Failed to delete one or more notification template.`)}
<ErrorDetail error={deletionError} />
</AlertModal>
<AlertGroup ouiaId="notification-template-alerts" isToast>
<AlertGroup data-cy="notification-template-alerts" isToast>
{testToasts
.filter(notification => notification.status !== 'pending')
.map(notification => (