diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Settings/Applications/MarketPlaceAppDetails/MarketPlaceAppDetails.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Settings/Applications/MarketPlaceAppDetails/MarketPlaceAppDetails.component.tsx
index a265e551dcc..d7a513a3376 100644
--- a/openmetadata-ui/src/main/resources/ui/src/components/Settings/Applications/MarketPlaceAppDetails/MarketPlaceAppDetails.component.tsx
+++ b/openmetadata-ui/src/main/resources/ui/src/components/Settings/Applications/MarketPlaceAppDetails/MarketPlaceAppDetails.component.tsx
@@ -143,7 +143,6 @@ const MarketPlaceAppDetails = () => {
{t('label.browse-app-plural')}
-
@@ -159,37 +158,37 @@ const MarketPlaceAppDetails = () => {
-
-
-
- }
- values={{
- app: appData?.displayName,
- }}
- />
-
-
-
- {t('message.please-contact-us')}
-
- >
- }
- type="info"
- />
+ {isPreviewApp && (
+
+
+
+ }
+ values={{
+ app: appData?.displayName,
+ }}
+ />
+
+
+ {t('message.please-contact-us')}
+
+ >
+ }
+ type="info"
+ />
+ )}
{t('message.marketplace-verify-msg')}
-
{appData?.supportEmail && (
diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Settings/Applications/MarketPlaceAppDetails/MarketPlaceAppDetails.test.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Settings/Applications/MarketPlaceAppDetails/MarketPlaceAppDetails.test.tsx
index 2a8665b5287..d3a4bdb6fc3 100644
--- a/openmetadata-ui/src/main/resources/ui/src/components/Settings/Applications/MarketPlaceAppDetails/MarketPlaceAppDetails.test.tsx
+++ b/openmetadata-ui/src/main/resources/ui/src/components/Settings/Applications/MarketPlaceAppDetails/MarketPlaceAppDetails.test.tsx
@@ -11,6 +11,7 @@
* limitations under the License.
*/
import {
+ queryByTestId,
render,
screen,
waitForElementToBeRemoved,
@@ -95,7 +96,7 @@ jest.mock('../AppLogo/AppLogo.component', () =>
describe('MarketPlaceAppDetails component', () => {
it('should render all necessary elements if app details fetch successfully', async () => {
- render();
+ const { container } = render();
await waitForElementToBeRemoved(() => screen.getByText('Loader'));
@@ -116,6 +117,10 @@ describe('MarketPlaceAppDetails component', () => {
expect(screen.getByText('label.privacy-policy')).toBeInTheDocument();
expect(screen.getByText('label.get-app-support')).toBeInTheDocument();
+ const appName = queryByTestId(container, 'appName');
+
+ expect(appName).not.toBeInTheDocument();
+
// actions check
userEvent.click(
screen.getByRole('button', { name: 'left label.browse-app-plural' })