diff --git a/packages/editor/src/utils/badge-properties.test.tsx b/packages/editor/src/utils/badge-properties.test.tsx
index 40656ed7..bd797608 100644
--- a/packages/editor/src/utils/badge-properties.test.tsx
+++ b/packages/editor/src/utils/badge-properties.test.tsx
@@ -11,7 +11,7 @@ describe('createBadges', () => {
render();
const testDataBadge = screen.getByText('testData');
const logicBadge = screen.getByText('testLogic');
- const cmsBadge = screen.getByText('.../cssIcon');
+ const cmsBadge = screen.getByText('cssIcon');
const expBadge = screen.getByText('el.expression');
expect(testDataBadge).toBeVisible();
@@ -21,7 +21,7 @@ describe('createBadges', () => {
expect(testDataBadge).toHaveTextContent('testData');
expect(logicBadge).toHaveTextContent('testLogic');
- expect(cmsBadge).toHaveTextContent('.../cssIcon');
+ expect(cmsBadge).toHaveTextContent('cssIcon');
expect(expBadge).toHaveTextContent('el.expression');
expect(testDataBadge?.querySelector('i.ivy-attribute')).toBeVisible();
diff --git a/packages/editor/src/utils/badge-properties.tsx b/packages/editor/src/utils/badge-properties.tsx
index d562523e..e1863f48 100644
--- a/packages/editor/src/utils/badge-properties.tsx
+++ b/packages/editor/src/utils/badge-properties.tsx
@@ -5,7 +5,7 @@ import { CmsTooltip } from './CmsTooltip';
const badgePropertyCMS: BadgeType = {
regex: /#{\s*ivy.cms.co[^}]+}/,
icon: IvyIcons.Cms,
- badgeTextGen: (text: string) => '...' + text.replaceAll(/#{\s*ivy.cms.co\(['"]|.*(?=\/)|['"]\)\s*}/g, ''),
+ badgeTextGen: (text: string) => text.replaceAll(/#{\s*ivy.cms.co\(['"]|.*(?=\/)\/|['"]\)\s*}/g, ''),
tooltip: (text: string) =>
};