Skip to content

Commit

Permalink
add data-test-subj to confirm modal
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Jan 7, 2021
1 parent d0e702f commit c0ee1a0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export const DeleteConfirmModal: FC<DeleteConfirmModalProps> = ({
<EuiFlexItem grow={false}>
<EuiFlexGroup>
<EuiFlexItem grow={false}>
<EuiButtonEmpty onClick={onCancel}>
<EuiButtonEmpty onClick={onCancel} data-test-subj="confirmModalCancelButton">
<FormattedMessage
id="savedObjectsManagement.objectsTable.deleteSavedObjectsConfirmModal.cancelButtonLabel"
defaultMessage="Cancel"
Expand All @@ -132,6 +132,7 @@ export const DeleteConfirmModal: FC<DeleteConfirmModalProps> = ({
fill
color="danger"
onClick={onConfirm}
data-test-subj="confirmModalConfirmButton"
>
<FormattedMessage
id="savedObjectsManagement.objectsTable.deleteSavedObjectsConfirmModal.deleteButtonLabel"
Expand Down

0 comments on commit c0ee1a0

Please sign in to comment.