diff --git a/web/app/components/plugins/plugin-page/plugin-tasks/components/__tests__/plugin-item.spec.tsx b/web/app/components/plugins/plugin-page/plugin-tasks/components/__tests__/plugin-item.spec.tsx
index d4886b9610..772e246e22 100644
--- a/web/app/components/plugins/plugin-page/plugin-tasks/components/__tests__/plugin-item.spec.tsx
+++ b/web/app/components/plugins/plugin-page/plugin-tasks/components/__tests__/plugin-item.spec.tsx
@@ -74,6 +74,24 @@ describe('PluginItem', () => {
expect(screen.getByTestId('status-icon')).toBeInTheDocument()
})
+ it('should anchor the status icon to the card icon wrapper', () => {
+ render(
+ }
+ statusText="status"
+ />,
+ )
+
+ const cardIcon = screen.getByTestId('card-icon')
+ const iconWrapper = cardIcon.parentElement
+
+ expect(iconWrapper).toHaveClass('relative', 'self-start')
+ expect(screen.getByTestId('status-icon').parentElement).toHaveClass('absolute', '-bottom-0.5', '-right-0.5')
+ })
+
it('should pass icon url to CardIcon', () => {
render(
= ({
}) => {
return (