diff --git a/frontend/src/container/ListOfDashboard/DashboardsList.tsx b/frontend/src/container/ListOfDashboard/DashboardsList.tsx
index 254a12b195..760fee457d 100644
--- a/frontend/src/container/ListOfDashboard/DashboardsList.tsx
+++ b/frontend/src/container/ListOfDashboard/DashboardsList.tsx
@@ -521,65 +521,64 @@ function DashboardsList(): JSX.Element {
{action && (
-
-
-
- }
- onClick={onClickHandler}
- >
- View
-
- }
- onClick={(e): void => {
- e.stopPropagation();
- e.preventDefault();
- setCopy(`${window.location.origin}${getLink()}`);
- }}
- >
- Copy Link
-
- }
- onClick={handleJsonExport}
- >
- Export JSON
-
-
-
-
- }
- placement="bottomRight"
- arrow={false}
- rootClassName="dashboard-actions"
- >
- {
- e.stopPropagation();
- e.preventDefault();
- }}
- />
-
-
+
+
+ }
+ onClick={onClickHandler}
+ >
+ View
+
+ }
+ onClick={(e): void => {
+ e.stopPropagation();
+ e.preventDefault();
+ setCopy(`${window.location.origin}${getLink()}`);
+ }}
+ >
+ Copy Link
+
+ }
+ onClick={handleJsonExport}
+ >
+ Export JSON
+
+
+
+
+ }
+ placement="bottomRight"
+ arrow={false}
+ rootClassName="dashboard-actions"
+ >
+ {
+ e.stopPropagation();
+ e.preventDefault();
+ }}
+ />
+
)}
diff --git a/frontend/src/pages/DashboardsListPage/__tests__/DashboardListPage.test.tsx b/frontend/src/pages/DashboardsListPage/__tests__/DashboardListPage.test.tsx
index bcb166eeb0..0fcdea102b 100644
--- a/frontend/src/pages/DashboardsListPage/__tests__/DashboardListPage.test.tsx
+++ b/frontend/src/pages/DashboardsListPage/__tests__/DashboardListPage.test.tsx
@@ -218,7 +218,7 @@ describe('dashboard list page', () => {
);
await waitFor(() => {
- const popovers = getAllByTestId('dashboard-action-popover');
+ const popovers = getAllByTestId('dashboard-action-icon');
expect(popovers).toHaveLength(dashboardSuccessResponse.data.length);
fireEvent.click([...popovers[0].children][0]);
});