mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-06 07:54:22 +00:00
Add DeleteFileModal and CommitMessageModal tests with accessibility improvements
This commit is contained in:
@@ -33,10 +33,15 @@ const DeleteFileModal: React.FC<DeleteFileModalProps> = ({
|
||||
<Button
|
||||
variant="default"
|
||||
onClick={() => setDeleteFileModalVisible(false)}
|
||||
data-testid="cancel-delete-button"
|
||||
>
|
||||
Cancel
|
||||
</Button>
|
||||
<Button color="red" onClick={() => void handleConfirm()}>
|
||||
<Button
|
||||
color="red"
|
||||
onClick={() => void handleConfirm()}
|
||||
data-testid="confirm-delete-button"
|
||||
>
|
||||
Delete
|
||||
</Button>
|
||||
</Group>
|
||||
|
||||
Reference in New Issue
Block a user