From ccea1bd5d34133fd1285a9c0e500df02f91f2287 Mon Sep 17 00:00:00 2001 From: mjac0bs Date: Thu, 5 Sep 2024 07:12:53 -0700 Subject: [PATCH] Clean up; fix test --- packages/manager/src/features/Events/EventRow.test.tsx | 2 +- .../features/NotificationCenter/NotificationCenter.styles.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/manager/src/features/Events/EventRow.test.tsx b/packages/manager/src/features/Events/EventRow.test.tsx index 825e4d7c09f..311b12b1a74 100644 --- a/packages/manager/src/features/Events/EventRow.test.tsx +++ b/packages/manager/src/features/Events/EventRow.test.tsx @@ -29,6 +29,6 @@ describe('EventRow', () => { name: /Two-factor authentication has been enabled./i, }) ).toBeInTheDocument(); - expect(getByRole('cell', { name: 'test_user' })).toBeInTheDocument(); + expect(getByRole('cell', { name: /test_user/i })).toBeInTheDocument(); }); }); diff --git a/packages/manager/src/features/NotificationCenter/NotificationCenter.styles.ts b/packages/manager/src/features/NotificationCenter/NotificationCenter.styles.ts index 12546a3369f..069b784e94f 100644 --- a/packages/manager/src/features/NotificationCenter/NotificationCenter.styles.ts +++ b/packages/manager/src/features/NotificationCenter/NotificationCenter.styles.ts @@ -129,7 +129,7 @@ export const NotificationEventGravatar = styled(GravatarByUsername, { })); export const NotificationEventAvatar = styled(Avatar, { - label: 'StyledAvatarByUsername', + label: 'StyledAvatar', })(() => ({ height: 32, marginTop: 2,