diff --git a/packages/manager/apps/pci-instances/src/pages/instances/datagrid/cell/ActionsCell.spec.tsx b/packages/manager/apps/pci-instances/src/pages/instances/datagrid/cell/ActionsCell.spec.tsx
index 232685f05a1b..797679668f04 100644
--- a/packages/manager/apps/pci-instances/src/pages/instances/datagrid/cell/ActionsCell.spec.tsx
+++ b/packages/manager/apps/pci-instances/src/pages/instances/datagrid/cell/ActionsCell.spec.tsx
@@ -1,15 +1,23 @@
import { render, screen } from '@testing-library/react';
import { describe, vi } from 'vitest';
-import { ActionsCell } from './ActionsCell.component';
-import { mockedInstance } from '@/__mocks__/instance/constants';
+import { ActionsCell, TActionsCellProps } from './ActionsCell.component';
vi.mock('react-router-dom', () => ({
- useHref: () => mockedInstance.id,
+ useHref: () => 'foo',
}));
+const initialProps: TActionsCellProps = {
+ isLoading: false,
+ hrefs: {
+ deleteHref: 'foo/delete',
+ detailsHref: 'foo/details',
+ autobackupHref: 'foo/autobackup',
+ },
+};
+
describe('Considering the ActionsCell component', () => {
test('Should render component correctly', () => {
- render();
+ render();
const actionsMenuElement = screen.getByTestId('actions-menu-button');
expect(actionsMenuElement).toBeInTheDocument();
});