diff --git a/ui/src/pages/home/app-card/app-card.test.tsx b/ui/src/pages/home/app-card/app-card.test.tsx index 79c3581f..5d88a766 100644 --- a/ui/src/pages/home/app-card/app-card.test.tsx +++ b/ui/src/pages/home/app-card/app-card.test.tsx @@ -110,7 +110,7 @@ describe('AppCard', () => { const btn = baseElement.querySelectorAll( '.MuiList-root li.MuiButtonBase-root', - )[0] as HTMLAnchorElement; + )[0] as HTMLLIElement; await act(async () => { btn.click(); }); @@ -170,7 +170,7 @@ describe('AppCard', () => { const btn = baseElement.querySelectorAll( '.MuiList-root li.MuiButtonBase-root', - )[0] as HTMLAnchorElement; + )[0] as HTMLLIElement; await act(async () => { btn.click(); }); @@ -241,7 +241,7 @@ describe('AppCard', () => { const btn = baseElement.querySelectorAll( '.MuiList-root li.MuiButtonBase-root', - )[0] as HTMLAnchorElement; + )[0] as HTMLLIElement; await act(async () => { btn.click(); }); @@ -281,7 +281,7 @@ describe('AppCard', () => { const btn = baseElement.querySelectorAll( '.MuiList-root li.MuiButtonBase-root', - )[0] as HTMLAnchorElement; + )[0] as HTMLLIElement; await act(async () => { btn.click(); }); @@ -318,7 +318,7 @@ describe('AppCard', () => { const btn = baseElement.querySelectorAll( '.MuiList-root li.MuiButtonBase-root', - )[0] as HTMLAnchorElement; + )[0] as HTMLLIElement; await act(async () => { btn.click(); }); @@ -377,7 +377,7 @@ describe('AppCard', () => { const btn = baseElement.querySelectorAll( '.MuiList-root li.MuiButtonBase-root', - )[0] as HTMLAnchorElement; + )[0] as HTMLLIElement; await act(async () => { btn.click(); });