diff --git a/src/components/NotificationRow.test.tsx b/src/components/NotificationRow.test.tsx index da8813b4c..8432db2ae 100644 --- a/src/components/NotificationRow.test.tsx +++ b/src/components/NotificationRow.test.tsx @@ -204,7 +204,7 @@ describe('components/NotificationRow.tsx', () => { , ); - fireEvent.click(screen.getByTitle('Mark as Read')); + fireEvent.click(screen.getByTitle('Mark as read')); expect(markNotificationRead).toHaveBeenCalledTimes(1); }); @@ -224,7 +224,7 @@ describe('components/NotificationRow.tsx', () => { , ); - fireEvent.click(screen.getByTitle('Mark as Done')); + fireEvent.click(screen.getByTitle('Mark as done')); expect(markNotificationDone).toHaveBeenCalledTimes(1); }); diff --git a/src/components/NotificationRow.tsx b/src/components/NotificationRow.tsx index 1f0752f22..c5299372c 100644 --- a/src/components/NotificationRow.tsx +++ b/src/components/NotificationRow.tsx @@ -131,7 +131,7 @@ export const NotificationRow: FC = ({ {isMarkAsDoneFeatureSupported(notification.account) && ( { @@ -142,7 +142,7 @@ export const NotificationRow: FC = ({ /> )} { diff --git a/src/components/RepositoryNotifications.test.tsx b/src/components/RepositoryNotifications.test.tsx index 635463ff2..c2bbf92c6 100644 --- a/src/components/RepositoryNotifications.test.tsx +++ b/src/components/RepositoryNotifications.test.tsx @@ -64,7 +64,7 @@ describe('components/RepositoryNotifications.tsx', () => { , ); - fireEvent.click(screen.getByTitle('Mark Repository as Read')); + fireEvent.click(screen.getByTitle('Mark repository as read')); expect(markRepoNotificationsRead).toHaveBeenCalledWith( mockSingleNotification, @@ -80,7 +80,7 @@ describe('components/RepositoryNotifications.tsx', () => { , ); - fireEvent.click(screen.getByTitle('Mark Repository as Done')); + fireEvent.click(screen.getByTitle('Mark repository as done')); expect(markRepoNotificationsDone).toHaveBeenCalledWith( mockSingleNotification, diff --git a/src/components/RepositoryNotifications.tsx b/src/components/RepositoryNotifications.tsx index c07baa892..fa5604432 100644 --- a/src/components/RepositoryNotifications.tsx +++ b/src/components/RepositoryNotifications.tsx @@ -83,7 +83,7 @@ export const RepositoryNotifications: FC = ({ {isMarkAsDoneFeatureSupported(repoNotifications[0].account) && ( ) => { @@ -96,7 +96,7 @@ export const RepositoryNotifications: FC = ({ /> )} ) => { diff --git a/src/components/__snapshots__/AccountNotifications.test.tsx.snap b/src/components/__snapshots__/AccountNotifications.test.tsx.snap index 51ee5543b..6334f5343 100644 --- a/src/components/__snapshots__/AccountNotifications.test.tsx.snap +++ b/src/components/__snapshots__/AccountNotifications.test.tsx.snap @@ -611,11 +611,11 @@ exports[`components/AccountNotifications.tsx should render itself - group notifi >