diff --git a/src/components/layouts/Dashboard/CallWidget/CallWidgetDialog/CallTabs/CallTabPanel/CallActions/ActionHeader/__test__/index.test.js b/src/components/layouts/Dashboard/CallWidget/CallWidgetDialog/CallTabs/CallTabPanel/CallActions/ActionHeader/__test__/index.test.js
new file mode 100644
index 0000000..69f9b52
--- /dev/null
+++ b/src/components/layouts/Dashboard/CallWidget/CallWidgetDialog/CallTabs/CallTabPanel/CallActions/ActionHeader/__test__/index.test.js
@@ -0,0 +1,43 @@
+import {render, screen, waitFor} from "@testing-library/react";
+import MockAppWithProviders from "../../../../../../../../../../../mocks/AppWithProvider";
+import {AnswersProvider} from "@/lib/callWidget/contexts/answers";
+import ActionHeader from "..";
+
+const tab = {
+ active: true,
+ active_category_id: 1,
+ phone_number : "09134849737"
+}
+
+describe('Action Header Button from Call Actions Categories', () => {
+ describe('Rendering', () => {
+ it('should see header text', async () => {
+ render(
+
+
+
+
+
+ )
+ const headingElement = screen.getByRole('heading', {
+ name: /\.\.\.\. عملیات های مربوط به تماس:/i
+ })
+ await waitFor(() => {
+ expect(headingElement).toBeInTheDocument()
+ })
+ });
+ it('should see phone number', async () => {
+ render(
+
+
+
+
+
+ )
+ const phone_numberElement = screen.queryByText(/09134849737/i)
+ await waitFor(() => {
+ expect(phone_numberElement).toBeInTheDocument()
+ })
+ });
+ });
+});
\ No newline at end of file
diff --git a/src/components/layouts/Dashboard/CallWidget/CallWidgetDialog/CallTabs/CallTabPanel/CallActions/ActionHeader/index.jsx b/src/components/layouts/Dashboard/CallWidget/CallWidgetDialog/CallTabs/CallTabPanel/CallActions/ActionHeader/index.jsx
index 9ae87c0..97b4297 100644
--- a/src/components/layouts/Dashboard/CallWidget/CallWidgetDialog/CallTabs/CallTabPanel/CallActions/ActionHeader/index.jsx
+++ b/src/components/layouts/Dashboard/CallWidget/CallWidgetDialog/CallTabs/CallTabPanel/CallActions/ActionHeader/index.jsx
@@ -15,11 +15,11 @@ const ActionHeader = ({tab}) => {
.... {t("CallAction.call_history_of")}:
-
+
{tab.phone_number} ....
)
}
-export default ActionHeader
+export default ActionHeader
\ No newline at end of file
diff --git a/src/components/layouts/Dashboard/CallWidget/CallWidgetDialog/CallTabs/CallTabPanel/CallActions/CallActionCategories/CallActionCategoriesButton.jsx b/src/components/layouts/Dashboard/CallWidget/CallWidgetDialog/CallTabs/CallTabPanel/CallActions/CallActionCategories/CallActionCategoriesButton.jsx
index f568732..40c2b18 100644
--- a/src/components/layouts/Dashboard/CallWidget/CallWidgetDialog/CallTabs/CallTabPanel/CallActions/CallActionCategories/CallActionCategoriesButton.jsx
+++ b/src/components/layouts/Dashboard/CallWidget/CallWidgetDialog/CallTabs/CallTabPanel/CallActions/CallActionCategories/CallActionCategoriesButton.jsx
@@ -8,6 +8,7 @@ const CallActionCategoriesButton = ({ category, tab }) => {